diff options
author | denisk <[email protected]> | 2022-02-10 16:48:13 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:13 +0300 |
commit | a3e40d22cc86312046f69a10ea401b78e9efb746 (patch) | |
tree | 9133cfa57ce2fa5b31742d1dac3bc609e00297a8 /contrib/libs/cxxsupp/libcxx/include/any | |
parent | 0e38f1d675a0b3d02016acf698e8d04c0b224047 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/any')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/any | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/any b/contrib/libs/cxxsupp/libcxx/include/any index 3a826c4d50b..ac1c980545d 100644 --- a/contrib/libs/cxxsupp/libcxx/include/any +++ b/contrib/libs/cxxsupp/libcxx/include/any @@ -204,7 +204,7 @@ public: , class _Tp = decay_t<_ValueType> , class = enable_if_t< !is_same<_Tp, any>::value && - !__is_inplace_type<_ValueType>::value && + !__is_inplace_type<_ValueType>::value && is_copy_constructible<_Tp>::value> > _LIBCPP_INLINE_VISIBILITY @@ -581,13 +581,13 @@ void swap(any & __lhs, any & __rhs) _NOEXCEPT template <class _Tp, class ..._Args> inline _LIBCPP_INLINE_VISIBILITY any make_any(_Args&&... __args) { - return any(in_place_type<_Tp>, _VSTD::forward<_Args>(__args)...); + return any(in_place_type<_Tp>, _VSTD::forward<_Args>(__args)...); } template <class _Tp, class _Up, class ..._Args> inline _LIBCPP_INLINE_VISIBILITY any make_any(initializer_list<_Up> __il, _Args&&... __args) { - return any(in_place_type<_Tp>, __il, _VSTD::forward<_Args>(__args)...); + return any(in_place_type<_Tp>, __il, _VSTD::forward<_Args>(__args)...); } template <class _ValueType> |