On this page
std::ranges::elements_view<V,F>::iterator<Const>::iterator
|
(1) | (since C++20) |
|
(2) | (since C++20) |
|
(3) | (since C++20) |
Construct an iterator.
1) Value-initializes the underlying iterator
current_ via its default member initializer (= ranges::iterator_t<Base>()).
2) Initializes the underlying iterator
current_ with std::move(current).
3) Conversion from
/*iterator*/<false> to /*iterator*/<true>. Initializes the underlying iterator current_ with std::move(i.current).
Parameters
| current | - | an iterator into (possibly const-qualified) V |
| i | - | an /*iterator*/<false> |
Example
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/elements_view/iterator/iterator