A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/algorithm/../ranges/../experimental/ranges/iterator/Sentinel.html below:

std::experimental::ranges::Sentinel - cppreference.com

template< class S, class I >

concept bool Sentinel =
    Semiregular<S> && Iterator<I> &&

    WeaklyEqualityComparableWith<S, I>;
(ranges TS)

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 [is) denotes a range. Sentinel<S, I> is satisfied only if:

The domain of == can change over time. Given an iterator i and sentinel s such that [is) denotes a range and i != s, [is) is not required to continue to denote a range after incrementing any iterator equal to i (and so i == s is no longer required to be well-defined after such an increment).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4