[libcxx-commits] [libcxx] [libc++] P2255R2: Add deleted tuple constructor overloads (PR #205379)
Yihan Wang via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jun 29 09:47:27 PDT 2026
================
@@ -689,58 +721,129 @@ public:
_Not<is_convertible<_OtherTuple, _Tp> >...,
_Not<is_constructible<_Tp, _OtherTuple> >... > > > {};
- template <class... _Up, __enable_if_t< _And< _EnableCtorFromUTypesTuple<const tuple<_Up...>&> >::value, int> = 0>
+ template <bool, class _OtherTuple>
+ struct _EnableCtorFromUTypesTupleNoDangling : false_type {};
----------------
yronglin wrote:
Agree, I refined the implementation.
https://github.com/llvm/llvm-project/pull/205379
More information about the libcxx-commits
mailing list