std::function::swap
STD::功能::交换
void swap( function& other | | (since C++11) |
---|
交换存储的可调用对象。*this
和other
...
参数
other | - | function wrapper to exchange the stored callable object with |
---|
返回值
%280%29
例外
noexcept
规格:
noexcept
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
http://en.cppreference.com/w/cpp/实用程序/Functional/function/SWAP