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

FreeBSD Manual Pages

  
 
  

home | help
std::execut...ed_as_error(3)  C++ Standard Libary std::execut...ed_as_error(3)

NAME
       std::execution::stopped_as_error	- std::execution::stopped_as_error

Synopsis
	  Defined in header <execution>
	  template<move_constructible Error>

	  execution::sender auto stopped_as_error(
	      execution::sender	auto snd,	    (since C++26)
	      Error err

	  );

Parameters
	  snd -	input sender of	which the stopped channel is mapped into err
	  err -	error to which the stop	channel	is mapped into

Return value
	  Returns a sender that	maps the stopped channel to an error of	err.

http://cppreference.com		  2024.06.10	  std::execut...ed_as_error(3)

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

home | help