YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
转换类型选择。 更多...
#include <ycutil.h>
Public 类型 | |
typedef MoreConvertible< _type, _tStrict, _type >::Result | Result |
![]() | |
typedef std::conditional < std::is_convertible< _type, _tStrict >::value, _tStrict, _type >::Result | Result |
额外继承的成员函数 | |
![]() | |
static Result | Cast (_type o) |
转换类型选择。
若 _type
能隐式转换为 _tStrict
则 Result
为 _tStrict,
否则 Result
为 _type
。
typedef MoreConvertible<_type, _tStrict, _type>::Result YSLib::SelectConvertible< _type, _tStrict >::Result |