std::ranges::take_view<V>::sentinel<Const>::sentinel
From cppreference.com
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::take_view
(C++26)
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 )
(3)
(since C++20)
requires Const &&
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>. Move constructs corresponding members.
[edit] Parameters
end
-
a sentinel representing the end of (possibly const-qualified)
V
s
-
a /*sentinel*/<false>
[edit] Example
This section is incomplete
Reason: no example
Reason: no example