SysTutorials

Linux Manual Pages › Section 3

stdexperimentalrangessentinel(3)

std::experimental::ranges::Sentinel - std::experimental::ranges::Sentinel

Synopsis

Defined in header <experimental/ranges/iterator>
template < class S, class I >
concept bool Sentinel =                           (ranges TS)
Semiregular<S> && Iterator<I> &&
WeaklyEqualityComparableWith<S, I>;

The Sentinel concept specifies the relationship between an Iterator type and a Semiregular type whose values denote a range. Let s and i be values of type S and I, respectively, such that [i, s) denotes a range. Sentinel<S, I> is satisfied only if: