| ||||||||||||||||||||||
| Range primitives | |||||||
| |||||||
| Range concepts | |||||||||||||||||||
| |||||||||||||||||||
| Range factories | |||||||||
| |||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Helper items | |||||||||||||||||
| |||||||||||||||||
class/*sentinel*/; | (since C++20) (exposition only*) | |
The return type ofsplit_view::end when the underlyingview typeV does not modelscommon_range.
Contents |
| Member | Description |
ranges::sentinel_t<V>end_(private) | the sentinel for the underlyingview(exposition-only member object*) |
(constructor) (C++20) | constructs a sentinel (public member function) |
/*sentinel*/()=default; | (1) | (since C++20) |
constexprexplicit/*sentinel*/(ranges::split_view& parent); | (2) | (since C++20) |
operator== (C++20) | compares the underlying iterator and the underlying sentinel (function) |
friendconstexprbool operator==(const/*iterator*/& x, const/*sentinel*/& y); | (since C++20) | |
Equivalent toreturn x.cur_== y.end_ and!x.trailing_empty_;.
The!= operator issynthesized fromoperator==.
This function is not visible to ordinaryunqualified orqualified lookup, and can only be found byargument-dependent lookup whenstd::ranges::split_view::sentinel is an associated class of the arguments.