Friends | |
template<typename T > | |
meta::if_c< std::is_reference< T >)||Copyable< T >), T > | any_cast (any &) |
template<typename T > | |
meta::if_c< std::is_reference< T >)||Copyable< T >), T > | any_cast (any const &) |
template<typename T > | |
meta::if_c< std::is_reference< T >)||Copyable< T >), T > | any_cast (any &&) |
template<typename T > | |
T * | any_cast (any *) noexcept |
template<typename T > | |
T const * | any_cast (any const *) noexcept |
void | swap (any &x, any &y) noexcept |
Public Member Functions | |
template<typename TRef , typename T = detail::decay_t<TRef>, requires = (Copyable<T>() && !Same<T, any>())> | |
any (TRef &&t) | |
any (any &&) noexcept=default | |
any (any const &that) | |
void | clear () noexcept |
bool | empty () const noexcept |
any & | operator= (any &&) noexcept=default |
any & | operator= (any const &that) |
template<typename TRef , typename T = detail::decay_t<TRef>, requires = (Copyable<T>() && !Same<T, any>())> | |
any & | operator= (TRef &&t) |
void | swap (any &that) noexcept |
std::type_info const & | type () const noexcept |
|
friend |
bad_any_cast |
|
friend |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
friend |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
friend |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
friend |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.