28 #ifndef YB_INC_ystdex_examiner_hpp_
29 #define YB_INC_ystdex_examiner_hpp_ 1
49 template<
typename _type1,
typename _type2>
51 are_equal(_type1&& x, _type2&& y, decltype(x == y) = {})
65 template<
typename _type,
typename _tUnused>
static bool are_equal(const _type &, _tUnused)
#define ynothrow
YSLib 无异常抛出保证:若支持 noexcept 关键字, 指定特定的 noexcept 异常规范。
#define YB_PURE
指示函数或函数模板实例为纯函数。
#define YB_STATELESS
指示函数或函数模板实例为无状态函数。
#define yconstfn
指定编译时常量函数。
#define ynoexcept(...)
YSLib 无异常抛出保证:指定特定的异常规范。
static bool are_equal(_type1 &&x, _type2 &&y, decltype(x==y)={})