Namespaces
Variants
Views
Actions

std::experimental::swap

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

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

Contents

[edit] Parameters

lhs, rhs - objects to swap

[edit] Return value

(none)

[edit] Exceptions

noexcept specification:  
noexcept
  

[edit] See also

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