aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2021-06-20 12:38:43 -0400
committerPatrick Palka <ppalka@redhat.com>2021-06-20 12:38:43 -0400
commit3f631671f17f44c611c70c59ef3338eab2ab67b3 (patch)
treeae600158d09966bc10d2d7c0d0acadea23fc12c9 /gcc
parent85a594f7dc8ea5c765e136f162debb668139ebd4 (diff)
downloadgcc-3f631671f17f44c611c70c59ef3338eab2ab67b3.zip
gcc-3f631671f17f44c611c70c59ef3338eab2ab67b3.tar.gz
gcc-3f631671f17f44c611c70c59ef3338eab2ab67b3.tar.bz2
libstdc++: Implement P2210 changes to split_view resolving LWG 3478
This implements the part of P2210R2 "Superior String Splitting" that resolves LWG 3478. libstdc++-v3/ChangeLog: * include/std/ranges (split_view::_OuterIter::__at_end): Check _M_trailing_empty. (split_view::_OuterIter::_M_trailing_empty): Define this data member. (split_view::_OuterIter::operator++): Set _M_trailing_empty appropriately. (split_view::_OuterIter::operator==): Compare _M_trailing_empty. * testsuite/std/ranges/adaptors/100479.cc (test03): Expect two split parts instead of one. * testsuite/std/ranges/adaptors/split.cc (test11): New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions