Namespaces
Variants
Views
Actions

std::experimental::swap(std::experimental::any)

From cppreference.com
< cpp‎ | experimental‎ | any
void swap(any& lhs, any& rhs) noexcept;
(library fundamentals TS)

Swaps the content of two any objects. Calls lhs.swap(rhs).

[edit] Parameters

lhs, rhs - objects to swap

[edit] Return value

(none)

[edit] See also

swaps two any objects
(public member function) [edit]