std::ranges::enumerate_view<V>::sentinel<Const>::sentinel
From cppreference.com
< cpp | ranges | enumerate view | sentinel
C++
Ranges library
|
Range primitives | |||||||
|
Range concepts | |||||||||||||||||||
|
Range factories | |||||||||
|
Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
Helper items | |||||||||||||||||
|
std::ranges::enumerate_view
Member functions | ||||
Deduction guides | ||||
Nested classes | ||||
Iterator | ||||
Sentinel | ||||
enumerate_view::sentinel::sentinel | ||||
/*sentinel*/() = default; |
(1) | (since C++23) |
constexpr
/*sentinel*/
(
/*sentinel*/
<
!Const> i )
requires Const && |
(2) | (since C++23) |
private
:
constexpr explicit /*sentinel*/ ( ranges::sentinel_t <Base> end ) ; |
(3) | (exposition only*) |
Constructs a sentinel.
1) Default constructor. Value-initializes the underlying sentinel with
ranges::sentinel_t
<Base>
(
)
2) Conversion from /*sentinel*/<false> to /*sentinel*/<true>. Move constructs the underlying sentinel
end_
with std::move(other.end_)
3) A private constructor which is used by enumerate_view::end. Move constructs the
end_
with std::move(end)
Parameters
i | - | a /*sentinel*/<false> |
Example
This section is incomplete Reason: no example |