std::any::operator= (3) Linux Manual Page
std::any::operator= – std::any::operator= Synopsis any &operator=(const any &rhs); (1)(since C++ 17) any & operator=(any &&rhs) noexcept; (2)(since C++ 17) template <typename ValueType> (3)(since C++ 17) any & operator=(ValueType &&rhs); Assigns contents to the contained value. 1) Assigns by copying the state of rhs, as if by any(rhs).swap(*this). 2) Assigns by moving the state of rhs,…
