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

FreeBSD Manual Pages

  
 
  

home | help
std::ranges...l::sentinel(3)  C++ Standard Libary std::ranges...l::sentinel(3)

NAME
       std::ranges::adjacent_view::sentinel::sentinel	-   std::ranges::adja-
       cent_view::sentinel::sentinel

Synopsis
	  /*sentinel*/()		      =			      default;
       (1) (since C++23)
	  constexpr /*sentinel*/( /*sentinel*/<!Const> i )

	    requires			      Const			    &&
       (2) (since C++23)

	      std::convertible_to<ranges::sentinel_t<V>,
	  ranges::sentinel_t<Base>>;

	  Constructs a sentinel.

	  1) Default constructor. Value-initializes  the  underlying  sentinel
       (denoted	as end_)
	  with ranges::sentinel_t<Base>().
	  2)  Conversion  from /*sentinel*/<false> to /*sentinel*/<true>. Move
       constructs the
	  underlying sentinel end_ with	the corresponding member of i.

	  This type also has a private constructor  which  is  used  by	 adja-
       cent_view::end. This
	  constructor is not accessible	to users.

Parameters
	  i - a	/*sentinel*/<false>

Example
	   This	section	is incomplete
	   Reason: no example

Category:
	    * Todo no example

http://cppreference.com		  2024.06.10	  std::ranges...l::sentinel(3)

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

home | help