aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/std
diff options
context:
space:
mode:
authorYihan Wang <yronglin777@gmail.com>2025-06-09 11:07:51 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2025-06-10 14:28:55 +0100
commit73edc003c0a8f0badc7027e6deefd3a573300b03 (patch)
treea7227214861794a45e186d807e8ee991c85a9007 /libstdc++-v3/testsuite/std
parent37b454b7e171bd8a792cbe4c57ea0f9702afa22d (diff)
downloadgcc-73edc003c0a8f0badc7027e6deefd3a573300b03.zip
gcc-73edc003c0a8f0badc7027e6deefd3a573300b03.tar.gz
gcc-73edc003c0a8f0badc7027e6deefd3a573300b03.tar.bz2
libstdc++: Implement LWG3528 make_from_tuple can perform (the equivalent of) a C-style cast
Implement LWG3528 to make std::make_from_tuple SFINAE friendly. libstdc++-v3/ChangeLog: * include/std/tuple (__can_make_from_tuple): New variable template. (__make_from_tuple_impl): Add static_assert. (make_from_tuple): Constrain using __can_make_from_tuple. * testsuite/20_util/tuple/dr3528.cc: New test. Signed-off-by: Yihan Wang <yronglin777@gmail.com> Co-authored-by: Jonathan Wakely <jwakely@redhat.com> Reviewed-by: Tomasz KamiƄski <tkaminsk@redhat.com>
Diffstat (limited to 'libstdc++-v3/testsuite/std')
0 files changed, 0 insertions, 0 deletions