std::ranges::split_view<V,Pattern>::end - cppreference.com (original) (raw)
| constexpr auto end() const; | | (since C++20) | | --------------------------- | | ------------- |
Returns an iterator or a sentinel representing the end of the resulting subrange. Equivalent to:
constexpr auto end()
{
if constexpr (ranges::common_range<V>)
return
iterator{*this, ranges::end(_[base](../split%5Fview.html#base "cpp/ranges/split view")_
), {}};
else
return
sentinel{*this};
}
[edit] Return value
[edit] Example
[edit] See also
| | returns an iterator to the beginning (public member function) [edit] | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | returns an iterator or a sentinel to the end (public member function of std::ranges::lazy_split_view<V,Pattern>) [edit] | | | returns a sentinel indicating the end of a range(customization point object)[edit] |