nonstd::any_lite::any Class Reference

#include <ndn-cxx/util/nonstd/any.hpp>

Public Member Functions

 any ()
 
 any (any const &other)
 
template<class ValueType >
 any (ValueType const &value)
 
 ~any ()
 
bool has_value () const
 
anyoperator= (any const &other)
 
template<class ValueType >
anyoperator= (ValueType const &value)
 
void reset ()
 
void swap (any &other)
 
template<class ValueType >
const ValueType * to_ptr () const
 
template<class ValueType >
ValueType * to_ptr ()
 
const std::type_info & type () const
 

Detailed Description

Definition at line 403 of file any.hpp.

Constructor & Destructor Documentation

◆ any() [1/3]

nonstd::any_lite::any::any ( )
inline

Definition at line 406 of file any.hpp.

◆ any() [2/3]

nonstd::any_lite::any::any ( any const &  other)
inline

Definition at line 410 of file any.hpp.

◆ any() [3/3]

template<class ValueType >
nonstd::any_lite::any::any ( ValueType const &  value)
inline

Definition at line 449 of file any.hpp.

◆ ~any()

nonstd::any_lite::any::~any ( )
inline

Definition at line 455 of file any.hpp.

Member Function Documentation

◆ has_value()

bool nonstd::any_lite::any::has_value ( ) const
inline

Definition at line 520 of file any.hpp.

◆ operator=() [1/2]

any& nonstd::any_lite::any::operator= ( any const &  other)
inline

Definition at line 460 of file any.hpp.

◆ operator=() [2/2]

template<class ValueType >
any& nonstd::any_lite::any::operator= ( ValueType const &  value)
inline

Definition at line 502 of file any.hpp.

◆ reset()

void nonstd::any_lite::any::reset ( )
inline

Definition at line 510 of file any.hpp.

◆ swap()

void nonstd::any_lite::any::swap ( any other)
inline

Definition at line 515 of file any.hpp.

◆ to_ptr() [1/2]

template<class ValueType >
const ValueType* nonstd::any_lite::any::to_ptr ( ) const
inline

Definition at line 535 of file any.hpp.

◆ to_ptr() [2/2]

template<class ValueType >
ValueType* nonstd::any_lite::any::to_ptr ( )
inline

Definition at line 541 of file any.hpp.

◆ type()

const std::type_info& nonstd::any_lite::any::type ( ) const
inline

Definition at line 525 of file any.hpp.