69d80f0f2f
This implements the new views::split from P2210R2 "Superior String Splitting". libstdc++-v3/ChangeLog: * include/std/ranges (__non_propagating_cache::operator bool): Define for split_view::begin(). (split_view): Define as per P2210. (views::__detail::__can_split_view): Define. (views::_Split, views::split): Define. * testsuite/std/ranges/adaptors/100577.cc (test01, test02): Test views::split. * testsuite/std/ranges/adaptors/split.cc: New test. * testsuite/std/ranges/p2325.cc (test08a): New test. * testsuite/std/ranges/p2367.cc (test01): Test views::split. |
||
---|---|---|
.. | ||
concepts | ||
ranges | ||
time |