std::function<R(Args...)>::swap_C++中文网

void swap( function& other ) noexcept;

(C++11 起)

交换 *thisother 存储的可调用对象。

参数

other - 要与之互换存储可调用对象的函数包装器

返回值

(无)