/*iterator*/() = default; | (1) | (since C++23) |
constexpr /*iterator*/( /*iterator*/<!Const> i ) requires Const && ranges::convertible_to<ranges::iterator_t<V>, ranges::iterator_t<Base>>; | (2) | (since C++23) |
Construct an iterator.
current_
to Base
, as if by std::array<ranges::iterator_t<Base>, N>()
./*iterator*/<false>
to /*iterator*/<true>
. Move constructs the underlying current_
member.This iterator also has two private constructors which is used by ranges::adjacent_view::begin
and ranges::adjacent_view::end
. These constructors are not accessible to users.
i | - | an /*iterator*/<false> |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/adjacent_view/iterator/iterator