diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/cxxsupp/libcxx | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
download | ydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx')
-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 e3420c5ee0..89502392ab 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 12e856b5b2..9b127953b3 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 |