YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
YSLib::SelectConvertible< _type, _tStrict > 模板结构体 参考

转换类型选择。 更多...

#include <ycutil.h>

类 YSLib::SelectConvertible< _type, _tStrict > 继承关系图:
YSLib::SelectConvertible< _type, _tStrict > 的协作图:

Public 类型

typedef MoreConvertible< _type,
_tStrict, _type >::Result 
Result
 
- Public 类型 继承自 YSLib::MoreConvertible< _type, _tStrict, _type >
typedef std::conditional
< std::is_convertible< _type,
_tStrict >::value, _tStrict,
_type >::Result 
Result
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 YSLib::MoreConvertible< _type, _tStrict, _type >
static Result Cast (_type o)
 

详细描述

template<typename _type, typename _tStrict>
struct YSLib::SelectConvertible< _type, _tStrict >

转换类型选择。

_type 能隐式转换为 _tStrictResult_tStrict, 否则 Result_type

自从
build 201

在文件 ycutil.h64 行定义.

成员类型定义说明

template<typename _type , typename _tStrict >
typedef MoreConvertible<_type, _tStrict, _type>::Result YSLib::SelectConvertible< _type, _tStrict >::Result

在文件 ycutil.h67 行定义.


该结构体的文档由以下文件生成: