NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nstd::any类 参考

#include <ne_stl_any.h>

class  holder
 
class  placeholder
 
struct  type_id_for_t
 

Public 成员函数

 any ()
 
template<typename _ValueType >
 any (const _ValueType &value)
 
 any (const any &other)
 
 ~any ()
 
anyswap (any &rhs)
 
template<typename _ValueType >
anyoperator= (const _ValueType &rhs)
 
anyoperator= (any rhs)
 
bool empty () const
 

静态 Public 成员函数

template<typename _Ty >
static const type_id_t type_id ()
 

Private 属性

placeholdercontent
 

友元

template<typename _ValueType >
_ValueType * any_cast (any *)
 
template<typename _ValueType >
_ValueType * UnsafeanyCast (any *)
 

构造及析构函数说明

◆ any() [1/3]

nstd::any::any ( )
inline

◆ any() [2/3]

template<typename _ValueType >
nstd::any::any ( const _ValueType & value)
inline

◆ any() [3/3]

nstd::any::any ( const any & other)
inline

◆ ~any()

nstd::any::~any ( )
inline

成员函数说明

◆ empty()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

template<typename _ValueType >
any & nstd::any::operator= ( const _ValueType & rhs)
inline

◆ swap()

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

◆ type_id()

template<typename _Ty >
static const type_id_t nstd::any::type_id ( )
inlinestatic

友元及相关函数文档

◆ any_cast

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

◆ UnsafeanyCast

template<typename _ValueType >
_ValueType * UnsafeanyCast ( any * operand)
friend

类成员变量说明

◆ content

placeholder* nstd::any::content
private

该类的文档由以下文件生成: