Marsyas  0.5.0-beta1
Public Member Functions | Friends
any Class Reference

#include <any.h>

Public Member Functions

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

Friends

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

Detailed Description

Definition at line 39 of file any.h.


Constructor & Destructor Documentation

any ( ) [inline]

Definition at line 43 of file any.h.

any ( const ValueType &  value) [inline]

Definition at line 49 of file any.h.

any ( const any other) [inline]

Definition at line 54 of file any.h.

~any ( ) [inline]

Definition at line 59 of file any.h.


Member Function Documentation

bool empty ( ) const [inline]

Definition at line 87 of file any.h.

any& operator= ( const ValueType &  rhs) [inline]

Definition at line 73 of file any.h.

any& operator= ( any  rhs) [inline]

Definition at line 79 of file any.h.

any& swap ( any rhs) [inline]

Definition at line 66 of file any.h.

const std::type_info& type ( ) const [inline]

Definition at line 92 of file any.h.


Friends And Related Function Documentation

ValueType* any_cast ( any operand) [friend]

Definition at line 180 of file any.h.

ValueType* unsafe_any_cast ( any operand) [friend]

Definition at line 247 of file any.h.


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