std::function::swap
De cppreference.com
<tbody>
</tbody>
void swap( function& other ) noexcept; |
(desde C++11) | |
Intercambia los objetos invocables almacenados de *this y other.
Parámetros
| other | - | Contenedor de función con el que intercambiar el objeto invocable. |
Valor de retorno
(Ninguno)
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)>)
|