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

From cppreference.com
< cpp‎ | ranges‎ | subrange

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

Returns the sentinel indicating the end of the `subrange`.

### Parameters

(none)

### Return value

A sentinel copy-constructed from the stored sentinel.

### Example

| This section is incomplete Reason: no example

### See also

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

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/ranges/subrange/end&oldid=129334"