aboutsummaryrefslogtreecommitdiff
path: root/libcpp/errors.cc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2025-12-05 13:43:29 -0500
committerPatrick Palka <ppalka@redhat.com>2025-12-05 13:43:29 -0500
commita9fd651fbb54024548158ee605eb13dce77afe26 (patch)
tree5bc4fcfd25c938c8a06e232e4e4c61db1eb91b8b /libcpp/errors.cc
parentcbdbbdd1fccfd789e6fbcb37b1b602bb7482de4b (diff)
downloadgcc-a9fd651fbb54024548158ee605eb13dce77afe26.zip
gcc-a9fd651fbb54024548158ee605eb13dce77afe26.tar.gz
gcc-a9fd651fbb54024548158ee605eb13dce77afe26.tar.bz2
libstdc++: Implement P2655R3 changes to common_reference bullet 1
We implement this paper as a DR against C++20 (as do MSVC and libc++). PR libstdc++/120446 libstdc++-v3/ChangeLog: * include/bits/version.def (common_reference): New. * include/bits/version.h: Regenerate. * include/std/type_traits (__glibcxx_want_common_reference): Define. (__common_reference_impl<T1, T2, 1>): Add pointer convertibility constraints as per P2655R3. * testsuite/20_util/common_reference/p2655r3.cc: New test. Reviewed-by: Tomasz KamiƄski <tkaminsk@redhat.com> Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'libcpp/errors.cc')
0 files changed, 0 insertions, 0 deletions