std::move_only_function::swap
De es.cppreference.net
void swap( move_only_function& other ) noexcept;
|
(desde C++23) | |
Intercambia los objetos invocables almacenados de *this y other.
Parámetros
| other | - | contenedor de función para intercambiar el objeto invocable almacenado con |
Valor de retorno
(ninguno)
Véase también
|
intercambia los contenidos
(función miembro pública de
std::function<R(Args...)>
)
|