|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
转换类型选择。 更多...
#include <ycutil.h>


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) |
转换类型选择。
若 _type 能隐式转换为 _tStrict 则 Result 为 _tStrict, 否则 Result 为 _type 。
| using YSLib::SelectConvertible< _type, _tStrict >::Result = typename MoreConvertible<_type, _tStrict, _type>::Result |