Classes | Public Member Functions | Private Attributes | Friends | List of all members
boost::any Class Reference

#include <any.hpp>

Classes

class  holder
 
class  placeholder
 

Public Member Functions

 any () BOOST_NOEXCEPT
 
 any (any &&other) BOOST_NOEXCEPT
 
 any (const any &other)
 
template<typename ValueType >
 any (const ValueType &value)
 
template<typename ValueType >
 any (ValueType &&value, typename boost::disable_if< boost::is_same< any &, ValueType > >::type *=0, typename boost::disable_if< boost::is_const< ValueType > >::type *=0)
 
void clear () BOOST_NOEXCEPT
 
bool empty () const BOOST_NOEXCEPT
 
anyoperator= (any &&rhs) BOOST_NOEXCEPT
 
anyoperator= (const any &rhs)
 
template<class ValueType >
anyoperator= (ValueType &&rhs)
 
anyswap (any &rhs) BOOST_NOEXCEPT
 
const boost::typeindex::type_infotype () const BOOST_NOEXCEPT
 
 ~any () BOOST_NOEXCEPT
 

Private Attributes

placeholdercontent
 

Friends

template<typename ValueType >
ValueType * any_cast (any *) BOOST_NOEXCEPT
 
template<typename ValueType >
ValueType * unsafe_any_cast (any *) BOOST_NOEXCEPT
 

Detailed Description

Definition at line 36 of file any.hpp.

Constructor & Destructor Documentation

◆ any() [1/5]

boost::any::any ( )
inline

Definition at line 40 of file any.hpp.

◆ any() [2/5]

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

Definition at line 46 of file any.hpp.

◆ any() [3/5]

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

Definition at line 53 of file any.hpp.

◆ any() [4/5]

boost::any::any ( any &&  other)
inline

Definition at line 60 of file any.hpp.

◆ any() [5/5]

template<typename ValueType >
boost::any::any ( ValueType &&  value,
typename boost::disable_if< boost::is_same< any &, ValueType > >::type = 0,
typename boost::disable_if< boost::is_const< ValueType > >::type = 0 
)
inline

Definition at line 68 of file any.hpp.

◆ ~any()

boost::any::~any ( )
inline

Definition at line 76 of file any.hpp.

Member Function Documentation

◆ clear()

void boost::any::clear ( )
inline

Definition at line 135 of file any.hpp.

◆ empty()

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

Definition at line 130 of file any.hpp.

◆ operator=() [1/3]

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

Definition at line 112 of file any.hpp.

◆ operator=() [2/3]

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

Definition at line 105 of file any.hpp.

◆ operator=() [3/3]

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

Definition at line 121 of file any.hpp.

◆ swap()

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

Definition at line 83 of file any.hpp.

◆ type()

const boost::typeindex::type_info& boost::any::type ( ) const
inline

Definition at line 140 of file any.hpp.

Friends And Related Function Documentation

◆ any_cast

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

Definition at line 244 of file any.hpp.

◆ unsafe_any_cast

template<typename ValueType >
ValueType* unsafe_any_cast ( any operand)
friend

Definition at line 307 of file any.hpp.

Member Data Documentation

◆ content

placeholder* boost::any::content
private

Definition at line 219 of file any.hpp.


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


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:56:22