|
Range primitives | |||||||
|
Range concepts | |||||||||||||||||||
|
Range factories | |||||||||
|
Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Helper items | |||||||||||||||||
|
struct/*sentinel*/; | (exposition only*) | |
ranges::iota_view<W, Bound>::sentinel
is the type of the reachable sentinels returned byend()
ofranges::iota_view<W, Bound>.
Contents |
Member | Definition |
Bound bound_ | the sentinel value (exposition-only member object*) |
/*sentinel*/()=default; | (1) | (since C++20) |
constexprexplicit/*sentinel*/( Bound bound); | (2) | (since C++20) |
bound_
.friendconstexprbool operator==(const/*iterator*/& x, const/*sentinel*/& y); | (since C++20) | |
The!=
operator issynthesized fromoperator==
.
This function is not visible to ordinaryunqualified orqualified lookup, and can only be found byargument-dependent lookup whensentinel is an associated class of the arguments.
friendconstexprstd::iter_difference_t<W> operator-(const/*iterator*/& x,const/*sentinel*/& y) | (1) | (since C++20) |
friendconstexprstd::iter_difference_t<W> operator-(const/*sentinel*/& x,const/*iterator*/& y) | (2) | (since C++20) |
These functions are not visible to ordinaryunqualified orqualified lookup, and can only be found byargument-dependent lookup whensentinel is an associated class of the arguments.
This section is incomplete Reason: no example |