YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
ystdex::void_ref类 参考

任意对象引用类型。 更多...

#include <any.h>

Public 成员函数

template<typename _type >
 void_ref (_type &obj)
 
template<typename _type >
 operator _type & ()
 
void * operator& () const volatile
 

Private 属性

const volatile void * ptr
 

详细描述

任意对象引用类型。

警告
不检查 cv-qualifier 。
自从
build 247
待办事项:
右值引用版本。

在文件 any.h121 行定义.

构造及析构函数说明

template<typename _type >
ystdex::void_ref::void_ref ( _type &  obj)
inline

在文件 any.h129 行定义.

成员函数说明

template<typename _type >
ystdex::void_ref::operator _type & ( )
inline

在文件 any.h134 行定义.

void* ystdex::void_ref::operator& ( ) const volatile
inline

在文件 any.h140 行定义.

参考 ptr.

类成员变量说明

const volatile void* ystdex::void_ref::ptr
private

在文件 any.h124 行定义.

参考自 operator&().


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