std::ranges::chunk_view<V>::inner-iterator::inner-iterator

From cppreference.com
< cpp‎ | ranges‎ | chunk view‎ | inner iterator
Ranges library
Range adaptors
std::ranges::chunk_view
Member functions
Classes for input_ranges
Deduction guides
outer-iterator
outer-iterator::value_type
inner-iterator
chunk_view::inner-iterator::inner-iterator
/*inner-iterator*/ ( /*inner-iterator*/ && other ) = default ;
(1) (since C++23)
private :
constexpr explicit /*inner-iterator*/ ( chunk_view& parent ) ;
(2) (exposition only*)

Construct an iterator.

1) A move constructor which move-initializes the underlying pointer parent_ with other.parent_
2) A private constructor which is used by chunk_view::begin. This constructor is not accessible to users. Initializes parent_ with std::addressof(parent)

Parameters

other - an iterator
parent - the enclosing ranges::chunk_view object

Example

See also

(C++23)
move assigns another iterator
(public member function)