std::ranges::adjacent_view<V,N>::sentinel<Const>::sentinel
From cppreference.com
< cpp | ranges | adjacent view | sentinel
C++
Ranges library
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|||||||||||||||||
std::ranges::adjacent_view
| Member functions | ||||
| Iterator | ||||
| Member functions | ||||
| Non-member functions | ||||
| Sentinel | ||||
| Member functions | ||||
adjacent_view::sentinel::sentinel | ||||
| Non-member functions | ||||
/*sentinel*/() = default; |
(1) | (since C++23) |
|
constexpr
/*sentinel*/
(
/*sentinel*/
<
!Const> i )
requires Const && |
(2) | (since C++23) |
Constructs a sentinel.
1) Default constructor. Value-initializes the underlying sentinel (denoted as
end_) with
ranges::sentinel_t
<Base>
(
)
2) Conversion from /*sentinel*/<false> to /*sentinel*/<true>. Move constructs the underlying sentinel
end_ with the corresponding member of i
This type also has a private constructor which is used by adjacent_view::end. This constructor is not accessible to users.
Parameters
| i | - | a /*sentinel*/<false> |
Example
| This section is incomplete Reason: no example |