std::any::swap (3) - Linux Manuals

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

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)