std::move_only_function::swap
来自 zh.cppreference.net
void swap( move_only_function& other ) noexcept;
|
(自 C++23 起) | |
交换 *this 和 other 所存储的可调用对象。
参数
| 其他 | - | 用于交换存储的可调用对象的函数包装器 |
返回值
(无)
参见
|
交换内容
(
std::function<R(Args...)>
的公开成员函数)
|