std::ranges::take_view<V>::sentinel<Const>::sentinel
From cppreference.com
C++
Ranges library
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|||||||||||||||||
std::ranges::take_view
| Member functions | ||||
| Deduction guides | ||||
| Sentinel | ||||
| Member functions | ||||
take_view::sentinel::sentinel | ||||
| Non-member functions | ||||
/*sentinel*/() = default; |
(1) | (since C++20) |
|
constexpr
explicit
/*sentinel*/
(
ranges::sentinel_t
<Base> end )
;
|
(2) | (since C++20) |
|
constexpr
/*sentinel*/
(
/*sentinel*/
<
!Const> s )
requires Const && |
(3) | (since C++20) |
Constructs a sentinel.
1) Default constructor. Value-initializes the underlying sentinel.
2) Initializes the underlying sentinel with end.
3) Conversion from /*sentinel*/<false> to /*sentinel*/<true>
Parameters
| end | - | a sentinel representing the end of (possibly const-qualified) V
|
| s | - | a /*sentinel*/<false> |
Example
| This section is incomplete Reason: no example |