std::ranges::enumerate_view<V>::sentinel<Const>::sentinel
From cppreference.com
< cpp | ranges | enumerate view | sentinel
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Ranges library
(C++23)(C++23)
(C++26)(C++26)
(C++23)(C++23)
(C++26)(C++26)
(C++26)(C++26)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)
(C++23)(C++23)
(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
(C++23)(C++23)
std::ranges::enumerate_view
(C++26)
enumerate_view::sentinel::sentinel
/*sentinel*/() = default;
(1)
(since C++23)
constexpr /*sentinel*/( /*sentinel*/<!Const> i )
(2)
(since C++23)
requires Const &&
private:
constexpr explicit /*sentinel*/( ranges::sentinel_t <Base> end );
(3)
(exposition only*)
constexpr explicit /*sentinel*/( ranges::sentinel_t <Base> end );
Constructs a sentinel.
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) This constructor is not accessible to users.[edit] Parameters
i
-
a /*sentinel*/<false>
[edit] Example
This section is incomplete
Reason: no example
Reason: no example