|
YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
转换类型选择。 更多...
#include <ycutil.h>
Public 类型 | |
| typedef std::conditional < std::is_convertible< _type, _tStrict >::value, _tStrict, _tWeak >::Result | Result |
静态 Public 成员函数 | |
| static Result | Cast (_type o) |
转换类型选择。
若 _type 能隐式转换为 _tStrict 则 Result 为 _tStrict, 否则 Result 为 _tWeak 。
| typedef std::conditional<std::is_convertible<_type, _tStrict>::value, _tStrict, _tWeak>::Result YSLib::MoreConvertible< _type, _tStrict, _tWeak >::Result |
|
inlinestatic |