|
Range primitives | |||||||
|
Range concepts | |||||||||||||||||||
|
Range factories | |||||||||
|
Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Helper items | |||||||||||||||||
|
Member functions | ||||
(C++26) | ||||
Deduction guides | ||||
Nested classes | ||||
Iterator | ||||
enumerate_view::iterator::iterator | ||||
Sentinel | ||||
/*iterator*/() requiresstd::default_initializable<ranges::iterator_t<Base>>=default; | (1) | (since C++23) |
constexpr/*iterator*/(/*iterator*/<!Const> i) requires Const&& | (2) | (since C++23) |
private: constexprexplicit/*iterator*/(ranges::iterator_t<Base> current, | (3) | (exposition only*) |
Construct an iterator.
current_
withranges::iterator_t<Base>() and the underlying indexpos_
with0.current_
withstd::move(i.current_) andpos_
withi.
pos_
.current_
withstd::move(current) andpos_
withpos.i | - | an/*iterator*/<false> |
This section is incomplete Reason: no example |