NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
ne_stl_any.h 文件参考
#include "ne_stl_build.h"

浏览源代码.

struct  nstd::type_id_t
 
class  nstd::any
 
struct  nstd::any::type_id_for_t< T >
 
class  nstd::any::placeholder
 
class  nstd::any::holder< _ValueType >
 
class  nstd::bad_any_cast
 

命名空间

namespace  nstd
 

宏定义

#define TypeIDForT(TClass)   nstd::any::type_id_for_t<typename std::decay<TClass>::type>::id()
 

函数

template<typename _ValueType >
_ValueType * nstd::any_cast (any *operand)
 
template<typename _ValueType >
const _ValueType * nstd::any_cast (const any *operand)
 
template<typename _ValueType >
_ValueType nstd::any_cast (any &operand)
 
template<typename _ValueType >
_ValueType nstd::any_cast (const any &operand)
 
template<typename _ValueType >
_ValueType * nstd::UnsafeanyCast (any *operand)
 
template<typename _ValueType >
const _ValueType * nstd::UnsafeanyCast (const any *operand)
 

宏定义说明

◆ TypeIDForT

#define TypeIDForT (   TClass)    nstd::any::type_id_for_t<typename std::decay<TClass>::type>::id()