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

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

#include <ycutil.h>

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

Public 类型

using Result = typename MoreConvertible< _type, _tStrict, _type >::Result
 
- Public 类型 继承自 YSLib::MoreConvertible< _type, _tStrict, _type >
using Result = ystdex::conditional_t< std::is_convertible< _type, _tStrict >::value, _tStrict, _type >
 

额外继承的成员函数

- 静态 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.h66 行定义.

成员类型定义说明

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

在文件 ycutil.h68 行定义.


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