momemta::any Class Reference
Detailed Description
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) | |
any & | swap (any &rhs) noexcept |
any & | operator= (const any &rhs) |
any & | operator= (any &&rhs) noexcept |
template<class ValueType > | |
any & | operator= (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:
- include/momemta/any.h