Otclient  14/8/2020
stdext::any Class Reference

#include <any.h>

Collaboration diagram for stdext::any:

Classes

struct  holder
 
struct  placeholder
 

Public Member Functions

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

Public Attributes

placeholdercontent
 

Detailed Description

Definition at line 32 of file any.h.

Constructor & Destructor Documentation

◆ any() [1/3]

stdext::any::any ( )
inline

Definition at line 52 of file any.h.

Here is the caller graph for this function:

◆ any() [2/3]

stdext::any::any ( const any other)
inline

Definition at line 53 of file any.h.

◆ any() [3/3]

template<typename T >
stdext::any::any ( const T &  value)
inline

Definition at line 54 of file any.h.

◆ ~any()

stdext::any::~any ( )
inline

Definition at line 55 of file any.h.

Member Function Documentation

◆ cast()

template<typename T >
const T & stdext::any::cast

Definition at line 73 of file any.h.

◆ empty()

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

Definition at line 62 of file any.h.

◆ operator=() [1/2]

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

Definition at line 60 of file any.h.

Here is the call graph for this function:

◆ operator=() [2/2]

template<typename T >
any& stdext::any::operator= ( const T &  rhs)
inline

Definition at line 59 of file any.h.

Here is the call graph for this function:

◆ swap()

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

Definition at line 57 of file any.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ type()

const std::type_info& stdext::any::type ( ) const
inline

Definition at line 64 of file any.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ content

placeholder* stdext::any::content

Definition at line 50 of file any.h.


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