Scroll to navigation

std::any::swap(3) C++ Standard Libary std::any::swap(3)

NAME

std::any::swap - std::any::swap

Synopsis


void swap(any& other) noexcept; (since C++17)


Swaps the content of two any objects.

Parameters


other - object to swap with

Return value


(none)

2022.07.31 http://cppreference.com