This adds another chunk of the <ranges> header. The changes from P1456R1 (Move-only views) and P1862R1 (Range adaptors for non-copyable iterators) are included, but not the changes from P1870R1 (forwarding-range<T> is too subtle). The tests for subrange and iota_view are poor and should be improved. * include/bits/regex.h (match_results): Specialize __enable_view_impl. * include/bits/stl_set.h (set): Likewise. * include/bits/unordered_set.h (unordered_set, unordered_multiset): Likewise. * include/debug/multiset.h (__debug::multiset): Likewise. * include/debug/set.h (__debug::set): Likewise. * include/debug/unordered_set (__debug::unordered_set) (__debug::unordered_multiset): Likewise. * include/std/ranges (ranges::view, ranges::enable_view) (ranges::view_interface, ranges::subrange, ranges::empty_view) (ranges::single_view, ranges::views::single, ranges::iota_view) (ranges::views::iota): Define for C++20. * testsuite/std/ranges/empty_view.cc: New test. * testsuite/std/ranges/iota_view.cc: New test. * testsuite/std/ranges/single_view.cc: New test. * testsuite/std/ranges/view.cc: New test. From-SVN: r278370
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
array | Loading commit data... | |
assertions.h | Loading commit data... | |
bitset | Loading commit data... | |
debug.h | Loading commit data... | |
deque | Loading commit data... | |
formatter.h | Loading commit data... | |
forward_list | Loading commit data... | |
functions.h | Loading commit data... | |
helper_functions.h | Loading commit data... | |
list | Loading commit data... | |
macros.h | Loading commit data... | |
map | Loading commit data... | |
map.h | Loading commit data... | |
multimap.h | Loading commit data... | |
multiset.h | Loading commit data... | |
safe_base.h | Loading commit data... | |
safe_container.h | Loading commit data... | |
safe_iterator.h | Loading commit data... | |
safe_iterator.tcc | Loading commit data... | |
safe_local_iterator.h | Loading commit data... | |
safe_local_iterator.tcc | Loading commit data... | |
safe_sequence.h | Loading commit data... | |
safe_sequence.tcc | Loading commit data... | |
safe_unordered_base.h | Loading commit data... | |
safe_unordered_container.h | Loading commit data... | |
safe_unordered_container.tcc | Loading commit data... | |
set | Loading commit data... | |
set.h | Loading commit data... | |
stl_iterator.h | Loading commit data... | |
string | Loading commit data... | |
unordered_map | Loading commit data... | |
unordered_set | Loading commit data... | |
vector | Loading commit data... |