diff options
author | orivej <[email protected]> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/cxxsupp/libcxx/include/tuple | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/tuple')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/tuple | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/tuple b/contrib/libs/cxxsupp/libcxx/include/tuple index 9b127953b3b..12e856b5b2c 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 |