Namespaces
Variants
Actions

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

From cppreference.com
< cpp‎ | ranges‎ | subrange
 
C++
 
Ranges library
Range adaptors
 
std::ranges::subrange
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]

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant