momemta::any Class Reference

Detailed Description

Definition at line 49 of file any.h.

Public Member Functions

template<typename ValueType >
 any (const ValueType &value)
 
 any (const any &other)
 
 any (any &&other) noexcept
 
template<typename ValueType >
 any (ValueType &&value, typename std::enable_if<!std::is_same< any &, ValueType >::value >::type *=0, typename std::enable_if<!std::is_const< ValueType >::value >::type *=0)
 
anyswap (any &rhs) noexcept
 
anyoperator= (const any &rhs)
 
anyoperator= (any &&rhs) noexcept
 
template<class ValueType >
anyoperator= (ValueType &&rhs)
 
bool empty () const noexcept
 
void clear () noexcept
 
const std::type_info & type () const noexcept
 

Friends

template<typename ValueType >
ValueType * any_cast (any *) noexcept
 
template<typename ValueType >
ValueType * unsafe_any_cast (any *) noexcept
 

The documentation for this class was generated from the following file: