summaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/include/tuple
diff options
context:
space:
mode:
authormikhnenko <[email protected]>2023-11-14 21:05:51 +0300
committermikhnenko <[email protected]>2023-11-14 21:51:40 +0300
commitdc2b631c67243fa71124d24899ed58af28069700 (patch)
tree22c544e80e8b5bc19778b31be8fd7346beece964 /contrib/libs/cxxsupp/libcxx/include/tuple
parenta8c9782fb7c6454c0afef92c5e5cb16cce719515 (diff)
Drop some patches for MSVC compatibility
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/tuple')
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/tuple17
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/tuple b/contrib/libs/cxxsupp/libcxx/include/tuple
index b434dae7530..27a422cb2b0 100644
--- a/contrib/libs/cxxsupp/libcxx/include/tuple
+++ b/contrib/libs/cxxsupp/libcxx/include/tuple
@@ -460,23 +460,6 @@ 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
-
template <class _Alloc, size_t ..._Uf, class ..._Tf,
size_t ..._Ul, class ..._Tl, class ..._Up>
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11