Namespaces
Variants
Views
Actions

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

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

Construct an iterator.

1) Move constructor. 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).

[edit] Parameters

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

[edit] Example

[edit] See also

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