[libcxx-commits] [libcxx] 0f2c31d - [libc++][NFC] Remove __all_default_constructible (#150406)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 24 10:17:13 PDT 2025
Author: Nikolas Klauser
Date: 2025-07-24T19:17:09+02:00
New Revision: 0f2c31dc92ac54df16c6c0b70028b1bfc37b2b69
URL: https://github.com/llvm/llvm-project/commit/0f2c31dc92ac54df16c6c0b70028b1bfc37b2b69
DIFF: https://github.com/llvm/llvm-project/commit/0f2c31dc92ac54df16c6c0b70028b1bfc37b2b69.diff
LOG: [libc++][NFC] Remove __all_default_constructible (#150406)
`__all_default_constructible` is never used, so we can remove it.
Added:
Modified:
libcxx/include/tuple
Removed:
################################################################################
diff --git a/libcxx/include/tuple b/libcxx/include/tuple
index 662d926ed35a2..1623702f7ebf6 100644
--- a/libcxx/include/tuple
+++ b/libcxx/include/tuple
@@ -443,12 +443,6 @@ public:
template <class... _Tp>
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 void __swallow(_Tp&&...) _NOEXCEPT {}
-template <class _Tp>
-struct __all_default_constructible;
-
-template <class... _Tp>
-struct __all_default_constructible<__tuple_types<_Tp...>> : __all<is_default_constructible<_Tp>::value...> {};
-
// __tuple_impl
template <class _Indx, class... _Tp>
More information about the libcxx-commits
mailing list