/*iterator*/() = default; | (1) | (since C++23) |
private: constexpr /*iterator*/( ranges::chunk_by_view& parent, // exposition only ranges::iterator_t<V> current, ranges::iterator_t<V> next ); | (2) | (since C++23) |
Construct an iterator.
1) Default constructor. Value-initializes the underlying data-members as follows:parent_
with nullptr, current_
with ranges::iterator_t<V>()
, next_
with ranges::iterator_t<V>()
.chunk_by_view::begin
and chunk_by_view::end
. This constructor is not accessible to users. Initializes: parent_
with std::addressof(parent)
, current_
with current
, next_
with next
.parent | - | a parent object |
current, next | - | iterators |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/chunk_by_view/iterator/iterator