Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::any Class Reference

Public Member Functions

 any () noexcept
 
 any (const any &other)
 
 any (any &&other) noexcept
 
template<typename Value >
 any (Value &&value, typename std::enable_if<!std::is_same< any &, Value >::value >::type *=nullptr, typename std::enable_if<!std::is_const< Value >::value >::type *=nullptr)
 
 ~any ()
 
anyoperator= (const any &other)
 
anyoperator= (any &&other) noexcept
 
template<class Value >
anyoperator= (Value &&other)
 
void clear () noexcept
 
void swap (any &other) noexcept
 
bool empty () const noexcept
 
const std::type_infotype () const noexcept
 

Friends

template<typename Value >
Value * any_cast (any *) noexcept
 

Constructor & Destructor Documentation

nana::any::any ( )
noexcept
nana::any::any ( const any other)
nana::any::any ( any &&  other)
noexcept
template<typename Value >
nana::any::any ( Value &&  value,
typename std::enable_if<!std::is_same< any &, Value >::value >::type = nullptr,
typename std::enable_if<!std::is_const< Value >::value >::type = nullptr 
)
inline
nana::any::~any ( )

Member Function Documentation

void nana::any::clear ( )
noexcept
bool nana::any::empty ( ) const
noexcept
any & nana::any::operator= ( const any other)
any & nana::any::operator= ( any &&  other)
noexcept
template<class Value >
any& nana::any::operator= ( Value &&  other)
inline
void nana::any::swap ( any other)
noexcept
const std::type_info & nana::any::type ( ) const
noexcept

Friends And Related Function Documentation

template<typename Value >
Value* any_cast ( any operand)
friend