Namespaces
Variants
Views
Actions

std::any::swap

From cppreference.com
< cpp‎ | utility‎ | any
 
 
 
 
void swap(any& other) noexcept;
(since C++17)

Swaps the content of two any objects.

[edit] Parameters

other - object to swap with

[edit] Return value

(none)