std::ranges::cartesian_product_view<First, Vs...>::iterator<Const>::iterator
From cppreference.com
< cpp | ranges | cartesian product view | iterator
/*iterator*/() = default; |
(1) | (since C++23) |
constexpr /*iterator*/( /*iterator*/<!Const> i ) requires Const && ( |
(2) | (since C++23) |
private: constexpr /*iterator*/( |
(3) | (exposition only*) |
Construct an iterator.
1) Default constructor. Value-initializes the
parent_
with nullptr and default-initializes the current_
.2) Conversion from /*iterator*/<false> to /*iterator*/<true>. Initializes
parent_
with i.
parent_
and current_
with std::move(i.current_).3) A private constructor which is used by cartesian_product_view::begin and cartesian_product_view::end. This constructor is not accessible to users.
Initializes
parent_
with std::addressof(parent) and current_
with std::move(current).Parameters
i | - | an /*iterator*/<false> |
Example
This section is incomplete Reason: no example |