std::ranges::adjacent_view<V,N>:: iterator <Const>:: iterator
From cppreference.com
<
cpp
|
ranges
|
adjacent view
|
iterator
C++
Ranges library
|
Range primitives | |||||||
|
Range concepts | |||||||||||||||||||
|
Range factories | |||||||||
|
Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
Helper items | |||||||||||||||||
|
|
std::ranges::adjacent_view
Member functions | ||||
Iterator | ||||
Member functions | ||||
adjacent_view::
iterator
::
iterator
|
||||
Non-member functions | ||||
Sentinel | ||||
Member functions | ||||
Non-member functions | ||||
/*iterator*/
(
)
=
default
;
|
(1) | (since C++23) |
constexpr
/*iterator*/
(
/*iterator*/
<
!
Const
>
i
)
requires Const
&&
|
(2) | (since C++23) |
Construct an iterator.
1)
Default constructor.
Value-initializes
the underlying array of iterators
current_
to
Base
, as if by
std::
array
<
ranges::
iterator_t
<
Base
>
, N
>
(
)
.
2)
Conversion from
/*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.
Parameters
i | - | an /*iterator*/ < false > |
Example
This section is incomplete
Reason: no example |
Retrieved from "
https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/adjacent_view/iterator/iterator&oldid=150907
"