aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2021-07-16 09:44:32 -0400
committerPatrick Palka <ppalka@redhat.com>2021-07-16 09:44:32 -0400
commit73464a472aa4e86359f1a5dc529394fe5152fec0 (patch)
treed9bf9a2f0f268e6dbff6de3c13c330fb7440557a /gcc
parente32234536f361796e7cad8ed69a1c0bb46ee55de (diff)
downloadgcc-73464a472aa4e86359f1a5dc529394fe5152fec0.zip
gcc-73464a472aa4e86359f1a5dc529394fe5152fec0.tar.gz
gcc-73464a472aa4e86359f1a5dc529394fe5152fec0.tar.bz2
libstdc++: Give split_view::_Sentinel a default ctor [PR101214]
This gives the new split_view's sentinel type a defaulted default constructor, something which was overlooked in r12-1665. This patch also fixes a couple of other issues with the new split_view as reported in the PR. PR libstdc++/101214 libstdc++-v3/ChangeLog: * include/std/ranges (split_view::split_view): Use std::move. (split_view::_Iterator::_Iterator): Remove redundant default_initializable constraint. (split_view::_Sentinel::_Sentinel): Declare. * testsuite/std/ranges/adaptors/split.cc (test02): New test.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions