GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::experimental::ranges::Sentinel(3) C++ Standard Libary std::experimental::ranges::Sentinel(3)

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


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:


* i == s is well-defined.
* If bool(i != s) then i is dereferenceable and [++i, s) denotes a range.


The domain of == can change over time. Given an iterator i and sentinel s such that
[i, s) denotes a range and i != s, [i, s) 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).

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.