Scroll to navigation

std::ranges::subrange::end(3) C++ Standard Libary std::ranges::subrange::end(3)

NAME

std::ranges::subrange::end - std::ranges::subrange::end

Synopsis

constexpr S end() const; (since C++20)

Returns the sentinel indicating the end of the subrange.

range-begin-end.svg

Return value

end_.

Example


This section is incomplete
Reason: no example

See also

begin obtains the iterator
(public member function) end cend returns an iterator to the end of a container or array (C++11) (function template) (C++14) ranges::end returns a sentinel indicating the end of a range (C++20) (customization point object)

2026.11.10 http://cppreference.com