You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement P2255R2 tuple.apply part wording for `std::make_from_tuple`.
```
Mandates: If tuple_size_v<remove_reference_t<Tuple>> is 1, then reference_constructs_from_temporary_v<T, decltype(get<0>(declval<Tuple>()))> is false.
```
Fixes#154274
---------
Signed-off-by: yronglin <[email protected]>
// template <class T, class Tuple> constexpr T make_from_tuple(Tuple&&);
14
+
// Mandates: If tuple_size_v<remove_reference_t<Tuple>> is 1, then reference_constructs_from_temporary_v<T, decltype(get<0>(declval<Tuple>()))> is false.
15
+
16
+
#include<tuple>
17
+
#include<utility>
18
+
19
+
#include"test_macros.h"
20
+
21
+
voidtest() {
22
+
// FreeBSD ci use clang 19.1.1, which hasn't implement __reference_constructs_from_temporary.
23
+
// The static_assert inner std::make_from_tuple will not triggered.
0 commit comments