YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
any.h 文件参考

动态泛型类型。 更多...

#include "utility.hpp"
#include <memory>
#include <typeinfo>
any.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

union  ystdex::non_aggregate_pod
 
union  ystdex::pod_storage< _tPOD >
 
class  ystdex::void_ref
 任意对象引用类型。 更多...
 
class  ystdex::any_ops::holder
 抽象动态泛型持有者接口。 更多...
 
class  ystdex::any_ops::value_holder< _type >
 值类型动态泛型持有者。 更多...
 
class  ystdex::any_ops::pointer_holder< _type >
 指针类型动态泛型持有者。 更多...
 
struct  ystdex::any_ops::holder_tag
 使用持有者标记。 更多...
 
class  ystdex::any
 基于类型擦除的动态泛型对象。 更多...
 
class  ystdex::bad_any_cast
 动态泛型转换失败异常。 更多...
 
struct  ystdex::pseudo_output
 伪输出对象。 更多...
 

命名空间

 ystdex
 
 ystdex::any_ops
 

类型定义

using ystdex::any_ops::op_code = std::uint32_t
 
using ystdex::any_ops::any_storage = pod_storage< non_aggregate_pod >
 
using ystdex::any_ops::any_manager = void(*)(any_storage &, const any_storage &, op_code)
 

枚举

enum  ystdex::any_ops::base_op : op_code {
  ystdex::any_ops::no_op, ystdex::any_ops::get_type, ystdex::any_ops::get_ptr, ystdex::any_ops::clone,
  ystdex::any_ops::destroy, ystdex::any_ops::get_holder_type, ystdex::any_ops::get_holder_ptr, ystdex::any_ops::end_base_op
}
 

函数

void ystdex::swap (any &x, any &y)
 交换对象。 更多...
 

详细描述

动态泛型类型。

版本
r1391
作者
FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com
自从
build 247
创建时间:
2011-09-26 07:55:44 +0800
修改时间:
2014-05-23 10:04 +0800
文本编码:
UTF-8
模块名称:
YStandardEx::Any

在文件 any.h 中定义.