OpenMD  2.5
Molecular Dynamics in the Open
boost::any::holder< ValueType > Class Template Reference

#include <any.hpp>

Inheritance diagram for boost::any::holder< ValueType >:
boost::any::placeholder

Public Member Functions

 holder (const ValueType &value)
 
virtual const std::type_info & type () const
 
virtual placeholderclone () const
 
- Public Member Functions inherited from boost::any::placeholder
virtual ~placeholder ()
 

Public Attributes

ValueType held
 

Detailed Description

template<typename ValueType>
class boost::any::holder< ValueType >

Definition at line 130 of file any.hpp.

Constructor & Destructor Documentation

◆ holder()

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

Definition at line 134 of file any.hpp.

Member Function Documentation

◆ clone()

template<typename ValueType >
virtual placeholder* boost::any::holder< ValueType >::clone ( void  ) const
inlinevirtual

Implements boost::any::placeholder.

Definition at line 146 of file any.hpp.

◆ type()

template<typename ValueType >
virtual const std::type_info& boost::any::holder< ValueType >::type ( ) const
inlinevirtual

Implements boost::any::placeholder.

Definition at line 141 of file any.hpp.

Member Data Documentation

◆ held

template<typename ValueType >
ValueType boost::any::holder< ValueType >::held

Definition at line 153 of file any.hpp.

Referenced by boost::any_cast().


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