std::function::swap
De cppreference.com
< cpp | utility | functional | function
void swap( function& other ) noexcept; |
(desde C++11) | |
Intercambia los objetos invocables almacenados de *this y other
.
[editar] Parámetros
other | - | Contenedor de función con el que intercambiar el objeto invocable. |
[editar] Valor de retorno
(Ninguno)
[editar] Véase también
(C++23) |
Intercambia el objetivo de dos objetos std::move_only_function . (función miembro pública de std::move_only_function<R(Args...) cv ref noexcept(noex)> )
|