aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-02-07 11:31:12 +0000
committerJonathan Wakely <jwakely@redhat.com>2020-02-07 11:39:12 +0000
commit5713834e4b99e4c4c99eef15698a497f091b7dc4 (patch)
treed4a1c39fd7d1c54e158db18a6cfee065ce9721ea /gcc/tree-inline.c
parentea5ca698dca15dc86b823661ac357a30b49dd0f6 (diff)
downloadgcc-5713834e4b99e4c4c99eef15698a497f091b7dc4.zip
gcc-5713834e4b99e4c4c99eef15698a497f091b7dc4.tar.gz
gcc-5713834e4b99e4c4c99eef15698a497f091b7dc4.tar.bz2
libstdc++: Enable three-way comparison for iota_view iterators
The declaration of operator<=> was disabled due to a typo in the macro. The declaration was also ill-formed when three_way_comparable<_Winc> is not satisfied, which is a defect in the C++20 draft. * include/std/ranges (iota_view::_Iterator): Fix typo in name of __cpp_lib_three_way_comparison macro and use deduced return type for operator<=>. * testsuite/std/ranges/iota/iterator.cc: New test.
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions