aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-10-10 15:06:53 +0100
committerJonathan Wakely <jwakely@redhat.com>2022-10-10 21:37:03 +0100
commit1d2f07ed4ce028a7c1f9b18f5d959f30213545ca (patch)
treedf6ee2dda819f5968e162e58e4d17e7019136a90 /gcc
parent67efffec943656a509e036cd3c785a5c3d6885e1 (diff)
downloadgcc-1d2f07ed4ce028a7c1f9b18f5d959f30213545ca.zip
gcc-1d2f07ed4ce028a7c1f9b18f5d959f30213545ca.tar.gz
gcc-1d2f07ed4ce028a7c1f9b18f5d959f30213545ca.tar.bz2
libstdc++: Revert addition of constraints to make_signed/make_unsigned
Constraining the primary template makes it unusable in uninstantiated contexts. libstdc++-v3/ChangeLog: * include/std/type_traits (make_signed, make_unsigned): Remove constraints on primary template. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Undo changes to expected error in C++20 mode. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise. * testsuite/24_iterators/range_access/range_access_cpp20_neg.cc: Likewise. * testsuite/20_util/make_signed/requirements/uninstantiated.cc: New test. * testsuite/20_util/make_unsigned/requirements/uninstantiated.cc: New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions