| ||||||||||||||||||||||
| Range primitives | |||||||
| |||||||
| Range concepts | |||||||||||||||||||
| |||||||||||||||||||
| Range factories | |||||||||
| |||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Helper items | |||||||||||||||||
| |||||||||||||||||
| Member functions | ||||
(C++26) | ||||
| Deduction guides | ||||
| Iterator | ||||
| Member functions | ||||
| Non-member functions | ||||
| Sentinel | ||||
| Member functions | ||||
| Non-member functions | ||||
template<bool Const> class/*iterator*/ | (since C++23) (exposition only*) | |
The return type ofslide_view::begin, and ofslide_view::end when the underlying viewV is acommon_range.
The type/*iterator*/<true> is returned by the const-qualified overloads. The type/*iterator*/<false> is returned by the non-const-qualified overloads.
Contents |
| Member type | Definition |
Base(private) | const V ifConst istrue, otherwiseV.(exposition-only member type*) |
iterator_category | std::input_iterator_tag |
iterator_concept |
|
value_type | decltype(views::counted(current_, n_)) |
difference_type | ranges::range_difference_t<Base> |
| Member name | Definition |
current_(private) | ranges::iterator_t<Base>, holds an iterator to the first underlying element of the current window inslide_view(exposition-only member object*) |
last_ele_(private)(conditionally present) | ranges::iterator_t<Base>, holds an iterator to the one-past-end underlying element of the current window inslide_view. Present only ifBase models/*slide-caches-first*/.(exposition-only member object*) |
n_(private) | ranges::range_difference_t<Base>, holds the window width ofslide_view.(exposition-only member object*) |
| constructs an iterator (public member function) | |
| accesses the element (public member function) | |
| accesses an element by index (public member function) | |
| advances or decrements the underlying iterators (public member function)[edit] |
| compares the underlying iterators (function) | |
(C++23) | performs iterator arithmetic (function) |
| This section is incomplete Reason: no example |
slide_view::iterator [range.slide.iterator]