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

From cppreference.com
 
 
Ranges library
Range access
Range conversions
(C++23)
Range primitives



Dangling iterator handling
Range concepts
Views

Range factories
Range adaptors
Range generators
Range adaptor objects
Range adaptor closure objects
Helper items
(until C++23)(C++23)


 
std::ranges::chunk_view
Member functions
Classes for input_ranges
Deduction guides
outer-iterator
chunk_view::outer-iterator::outer-iterator
(C++23)
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).

Parameters

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

Example

See also

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