Scroll to navigation

std::ranges::chunk_view::inner-iterator::inner-iterator(3) C++ Standard Libary std::ranges::chunk_view::inner-iterator::inner-iterator(3)

NAME

std::ranges::chunk_view::inner-iterator::inner-iterator - std::ranges::chunk_view::inner-iterator::inner-iterator

Synopsis


/*inner-iterator*/( /*inner-iterator*/&& other ) = default; (1) (since C++23)
private: (2) (exposition only*)
constexpr explicit /*inner-iterator*/( chunk_view& parent );


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


This section is incomplete
Reason: no example

See also


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

Category:


* Todo no example

2024.06.10 http://cppreference.com