OpenMD  2.5
Molecular Dynamics in the Open
boost::any Class Reference

#include <any.hpp>

Classes

class  holder
 
class  placeholder
 

Public Member Functions

 any ()
 
template<typename ValueType >
 any (const ValueType &value)
 
 any (const any &other)
 
 ~any ()
 
anyswap (any &rhs)
 
template<typename ValueType >
anyoperator= (const ValueType &rhs)
 
anyoperator= (const any &rhs)
 
bool empty () const
 
const std::type_info & type () const
 

Public Attributes

placeholdercontent
 

Detailed Description

Definition at line 49 of file any.hpp.

Constructor & Destructor Documentation

◆ any() [1/3]

boost::any::any ( )
inline

Definition at line 53 of file any.hpp.

Referenced by operator=().

◆ any() [2/3]

template<typename ValueType >
boost::any::any ( const ValueType &  value)
inline

Definition at line 59 of file any.hpp.

◆ any() [3/3]

boost::any::any ( const any other)
inline

Definition at line 64 of file any.hpp.

◆ ~any()

boost::any::~any ( )
inline

Definition at line 69 of file any.hpp.

References content.

Member Function Documentation

◆ empty()

bool boost::any::empty ( ) const
inline

Definition at line 97 of file any.hpp.

References content.

◆ operator=() [1/2]

template<typename ValueType >
any& boost::any::operator= ( const ValueType &  rhs)
inline

Definition at line 83 of file any.hpp.

References any().

◆ operator=() [2/2]

any& boost::any::operator= ( const any rhs)
inline

Definition at line 89 of file any.hpp.

References any().

◆ swap()

any& boost::any::swap ( any rhs)
inline

Definition at line 76 of file any.hpp.

References content.

◆ type()

Member Data Documentation

◆ content

placeholder* boost::any::content

Definition at line 170 of file any.hpp.

Referenced by boost::any_cast(), empty(), swap(), type(), and ~any().


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