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

FreeBSD Manual Pages

  
 
  

home | help
std::execution::just_error(3) C++ Standard Libarystd::execution::just_error(3)

NAME
       std::execution::just_error - std::execution::just_error

Synopsis
	  Defined in header <execution>
	  execution::sender auto just_error( auto && error );  (since C++26)

Parameters
	  error	 -  input error	which will be injected and returned by the re-
       ceiver.

Return value
	  Returns a sender with	no completion schedulers, which	sends the pro-
       vided values.

Notes
	  If the provided error	is an lvalue reference,	a copy is made	inside
       the returned
	  sender  and  a non-const lvalue reference to the copy	is sent	to the
       receivers
	  set_error. If	the provided value is an rvalue	reference, it is moved
       into the
	  returned sender and an rvalue	reference to it	is  sent  to  the  re-
       ceivers set_error.

http://cppreference.com		  2024.06.10	 std::execution::just_error(3)

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

home | help