void swap( function& other ); | | (库基础 TS) |
| | |
交换 *this 和 other
存储的可调用对象。
不交换 *this 与 other
的分配器。
若 *this->get_memory_resource()!=*other.get_memory_resource() 则行为未定义。 | (库基础 TS) (库基础 TS v3 前) |
若 this->get_allocator()!= other.get_allocator() 则行为未定义。 | (库基础 TS v3) |
other | - | 要与之交换存储可调用对象的函数包装器 |
[编辑]返回值
(无)