| ||||||||||||||||||||||
| Range primitives | |||||||
| |||||||
| Range concepts | |||||||||||||||||||
| |||||||||||||||||||
| Range factories | |||||||||
| |||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Helper items | |||||||||||||||||
| |||||||||||||||||
constexprauto begin(); | (1) | (since C++20) |
constexprauto begin()const requiresranges::forward_range<V>&&ranges::forward_range<const V>; | (2) | (since C++20) |
Returns anouter_iterator to the first element of thelazy_split_view.
Letbase_ be the underlying view andcurrent_ be the underlying caching object (may not be present).
constexprauto begin(){ifconstexpr(ranges::forward_range<V>)return/*outer_iterator*/</*simple_view*/<V>>{*this,ranges::begin(base_)};else{ current_=ranges::begin(base_);return/*outer_iterator*/<false>{*this};}}
outer_iterator to the first element.
| This section is incomplete Reason: no example |
| returns an iterator or a sentinel to the end (public member function)[edit] | |
(C++20) | returns an iterator to the beginning of a range (customization point object)[edit] |