| void swap(any& lhs, any& rhs) noexcept; |
(library fundamentals TS) | |
Swaps the content of two any objects. Calls lhs.swap(rhs).
Parameters
| lhs, rhs | - | objects to swap |
Return value
(none)
See also
swaps two any objects (public member function) |
Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.