|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
动态泛型类型。 更多...


类 | |
| 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 |
| 伪输出对象。 更多... | |
命名空间 | |
| namespace | ystdex |
| namespace | ystdex::any_ops |
| namespace | std |
类型定义 | |
| typedef std::uint32_t | ystdex::any_ops::op_code |
| typedef pod_storage < non_aggregate_pod > | ystdex::any_ops::any_storage |
| typedef void(* | ystdex::any_ops::any_manager )(any_storage &, const any_storage &, op_code) |
函数 | |
| void | std::swap (ystdex::any &x, ystdex::any &y) ynoexcept |
std::swap 的 ystdex::any 重载。 | |
| template<typename _tPointer > | |
| _tPointer | ystdex::any_cast (any *p) ynoexcept |
| 动态泛型转换。 | |
| template<typename _tPointer > | |
| _tPointer | ystdex::any_cast (const any *p) ynoexcept |
| template<typename _tValue > | |
| _tValue | ystdex::any_cast (any &x) |
| template<typename _tValue > | |
| _tValue | ystdex::any_cast (const any &x) |
| template<typename _type > | |
| _type * | ystdex::unsafe_any_cast (any *p) |
| 非安全动态泛型转换。 | |
| template<typename _type > | |
| const _type * | ystdex::unsafe_any_cast (const any *p) |
动态泛型类型。
在文件 any.h 中定义.