std::swap(std::any)
From cppreference.com
                    
                                        
                    
                    
                                                            
                    | void swap(any& lhs, any& rhs); | (since C++17) | |
Overloads the std::swap algorithm for std::any. Swaps the content of two any objects by calling 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 anyobjects(public member function) |