aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-11-14 15:48:03 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-11-16 08:00:36 +0000
commit17aca35c0ecd23de40c1352c0a7220bad3f11cfc (patch)
tree40d5014739b1e406686c29a752da20dc0d1b148d /gcc/cp/constexpr.cc
parentf158bd511df1f55ebbbc0df3dee52c4400291984 (diff)
downloadgcc-17aca35c0ecd23de40c1352c0a7220bad3f11cfc.zip
gcc-17aca35c0ecd23de40c1352c0a7220bad3f11cfc.tar.gz
gcc-17aca35c0ecd23de40c1352c0a7220bad3f11cfc.tar.bz2
libstdc++: Adjust feature test in <istream> and <ostream>
We don't need any library concepts to define the constraints for rvalue stream overloads, only compiler support. So change the test from using __cpp_lib_concepts to __cpp_concepts >= 201907L. libstdc++-v3/ChangeLog: * include/std/istream (__rvalue_stream_extraction_t): Test __cpp_concepts instead of __cpp_lib_concepts. * include/std/ostream (__derived_from_ios_base): Likewise. (__rvalue_stream_insertion_t): Likewise.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions