Namespaces
Variants
Views
Actions

std::ranges::chunk_by_view<V,Pred>::iterator::iterator

From cppreference.com
< cpp‎ | ranges‎ | chunk by view‎ | iterator
 
 
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)


 
 
/*iterator*/() = default;
(1) (since C++23)
private:

constexpr /*iterator*/( chunk_by_view& parent,
                        ranges::iterator_t<V> current,

                        ranges::iterator_t<V> next );
(2) (exposition only*)

Construct an iterator.

1) Default constructor. Value-initializes the underlying data-members as follows:
2) A private constructor which is used by chunk_by_view::begin and chunk_by_view::end. This constructor is not accessible to users. Initializes:

[edit] Parameters

parent - a parent object
current, next - iterators

[edit] Example