On this page
std::ranges::zip_transform_view<F,Views...>::iterator<Const>::iterator
|
(1) | (since C++23) |
|
(2) | (since C++23) |
|
(3) | (exposition only*) |
Construct an iterator.
1) Default constructor. Default-initializes the underlying iterators, and value-initializes the pointer to parent
ranges::zip_transform_view with nullptr.
2) Conversion from
/*iterator*/<false> to /*iterator*/<true>. Move constructs the underlying pointer to parent parent_ with i.parent_ and inner_ with std::move(i.inner_).
3) Initializes the pointer to parent
parent_ with std::addressof(parent), and the underlying inner_ iterator with std::move(inner). This constructor is not accessible to users.
Parameters
| i | - | an /*iterator*/<false> |
| parent | - | a (possibly const-qualified) ranges::zip_transform_view |
| inner | - | an iterator of type ziperator<Const> |
Example
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/zip_transform_view/iterator/iterator