diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/cxxsupp/libcxx/include | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/initializer_list | 10 | ||||
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/tuple | 34 |
2 files changed, 22 insertions, 22 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/initializer_list b/contrib/libs/cxxsupp/libcxx/include/initializer_list index 89502392ab..e3420c5ee0 100644 --- a/contrib/libs/cxxsupp/libcxx/include/initializer_list +++ b/contrib/libs/cxxsupp/libcxx/include/initializer_list @@ -86,11 +86,11 @@ public: _LIBCPP_CONSTEXPR_AFTER_CXX11 initializer_list() _NOEXCEPT : __begin_(nullptr), __size_(0) {} - initializer_list(const initializer_list&) = default; - initializer_list(initializer_list&&) = default; - initializer_list& operator=(const initializer_list&) = delete; - initializer_list& operator=(initializer_list&&) = delete; - + initializer_list(const initializer_list&) = default; + initializer_list(initializer_list&&) = default; + initializer_list& operator=(const initializer_list&) = delete; + initializer_list& operator=(initializer_list&&) = delete; + _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 size_t size() const _NOEXCEPT {return __size_;} diff --git a/contrib/libs/cxxsupp/libcxx/include/tuple b/contrib/libs/cxxsupp/libcxx/include/tuple index 9b127953b3..12e856b5b2 100644 --- a/contrib/libs/cxxsupp/libcxx/include/tuple +++ b/contrib/libs/cxxsupp/libcxx/include/tuple @@ -382,23 +382,23 @@ struct _LIBCPP_DECLSPEC_EMPTY_BASES __tuple_impl<__tuple_indices<_Indx...>, _Tp. __tuple_leaf<_Ul, _Tl>()... {} -#if defined(__NVCC__) && defined(_LIBCPP_COMPILER_MSVC) - // Yandex-specific: specialize the preceding constructor for the - // case of empty _Ul and _Tl to work around nvcc+msvc bug - // compiling libcxx std::map<int, int> m; m[1] = 2. - template <size_t ..._Uf, class ..._Tf, - class ..._Up> - _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 - explicit - __tuple_impl(__tuple_indices<_Uf...>, __tuple_types<_Tf...>, - __tuple_indices<>, __tuple_types<>, - _Up&&... __u) - _NOEXCEPT_((__all<is_nothrow_constructible<_Tf, _Up>::value...>::value)) : - __tuple_leaf<_Uf, _Tf>(_VSTD::forward<_Up>(__u))... - {} - // End of Yandex-specific -#endif - +#if defined(__NVCC__) && defined(_LIBCPP_COMPILER_MSVC) + // Yandex-specific: specialize the preceding constructor for the + // case of empty _Ul and _Tl to work around nvcc+msvc bug + // compiling libcxx std::map<int, int> m; m[1] = 2. + template <size_t ..._Uf, class ..._Tf, + class ..._Up> + _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 + explicit + __tuple_impl(__tuple_indices<_Uf...>, __tuple_types<_Tf...>, + __tuple_indices<>, __tuple_types<>, + _Up&&... __u) + _NOEXCEPT_((__all<is_nothrow_constructible<_Tf, _Up>::value...>::value)) : + __tuple_leaf<_Uf, _Tf>(_VSTD::forward<_Up>(__u))... + {} + // End of Yandex-specific +#endif + template <class _Alloc, size_t ..._Uf, class ..._Tf, size_t ..._Ul, class ..._Tl, class ..._Up> _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 |