Namespaces
Variants
Views
Actions

std::ranges::subrange<I,S,K>::end

From cppreference.com
< cpp‎ | ranges‎ | subrange
Revision as of 17:40, 7 October 2024 by Xmcgcg (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
Ranges library
Range adaptors
 
 
constexpr S end() const;
(since C++20)

Returns the sentinel indicating the end of the subrange.

range-begin-end.svg

[edit] Return value

end_.

[edit] Example

[edit] See also

obtains the iterator
(public member function) [edit]
(C++11)(C++14)
returns an iterator to the end of a container or array
(function template) [edit]
returns a sentinel indicating the end of a range
(customization point object)[edit]