std::any::swap
来自cppreference.com
工具库
std::any
| 成员函数 | ||||
| 修改器 | ||||
|
any::swap
|
||||
| 观察器 | ||||
| 非成员函数 | ||||
|
void
swap(any&
other)
noexcept;
|
(C++17 起) | |
交换二个 any 对象的内容。
参数
| other | - | 要交换的对象 |
返回值
(无)