table of contents
std::ranges::zip_transform_view::iterator::iterator(3) | C++ Standard Libary | std::ranges::zip_transform_view::iterator::iterator(3) |
NAME¶
std::ranges::zip_transform_view::iterator::iterator - std::ranges::zip_transform_view::iterator::iterator
Synopsis¶
/*iterator*/iterator() = default; (1) (since C++23)
constexpr /*iterator*/( /*iterator*/<!Const> i )
requires Const && (2) (since C++23)
std::convertible_to</*ziperator*/<false>,
/*ziperator*/<Const>>;
constexpr /*iterator*/( Parent& parent, /*ziperator*/<Const>
(3) (exposition only*)
inner );
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¶
This section is incomplete
Reason: no example
Category:¶
* Todo no example
2024.06.10 | http://cppreference.com |