std::any::swap
void swap( any& other ) noexcept; | (since C++17) |
Меняет содержимое двух any объектов.
Параметры
| other | - | объект для обмена |
Возвращаемое значение
(нет)
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/utility/any/swap