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

FreeBSD Manual Pages

  
 
  

home | help
std::function::swap(3)	      C++ Standard Libary	std::function::swap(3)

NAME
       std::function::swap - std::function::swap

Synopsis
	  void swap( function& other ) noexcept;  (since C++11)

	  Exchanges the	stored callable	objects	of *this and other.

Parameters
	  other	- function wrapper to exchange the stored callable object with

Return value
	  (none)

See also
	  swap	  swaps	the targets of two std::move_only_function objects
	  (C++23) (public member function of std::move_only_function)

http://cppreference.com		  2022.07.31		std::function::swap(3)

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

home | help