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::take_while_view::sentinel::sentinel			     -
       std::ranges::take_while_view::sentinel::sentinel

Synopsis
	  /*sentinel*/()		      =			      default;
       (1) (since C++20)
	  constexpr   explicit	 /*sentinel*/(	ranges::sentinel_t<Base>  end,
       (2) (since C++20)
	  const	Pred* pred );
	  constexpr /*sentinel*/( /*sentinel*/<!Const> s )

	  requires			    Const			    &&
       (3) (since C++20)

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

	  Constructs a sentinel.

	  1)  Default  constructor.  Value-initializes the underlying sentinel
       and the pointer to
	  predicate.
	  2) Initializes the underlying	sentinel with end and the  pointer  to
       predicate with
	  pred.
	  3)  Conversion  from /*sentinel*/<false> to /*sentinel*/<true>. Copy
       constructs
	  corresponding	members.

Parameters
	  end  - a sentinel representing the end of (possibly const-qualified)
       V
	  pred - a pointer to predicate
	  i    - a /*sentinel*/<false>

Example
	   This	section	is incomplete
	   Reason: no example

http://cppreference.com		  2022.07.31	  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::take_while_view::sentinel::sentinel&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help