Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::experi...es::Sentinel(3) C++ Standard Libarystd::experi...es::Sentinel(3)

NAME
       std::experimental::ranges::Sentinel  -  std::experimental::ranges::Sen-
       tinel

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:

	    * 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  sen-
       tinel s such that
	  [i,  s)  denotes  a range and	i != s,	[i, s) is not required to con-
       tinue 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).

http://cppreference.com		  2022.07.31	 std::experi...es::Sentinel(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::experimental::ranges::Sentinel&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help