YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
ystdex::details::have_equality_operator< _type1, _type2 > 模板结构体 参考

#include <type_op.hpp>

静态 Public 属性

static const bool value = test()
 

静态 Private 成员函数

template<typename _type >
static bool test (int, typename enable_if<((is_convertible< decltype(std::declval< _type >()==std::declval< _type2 >()), bool >::value)), int >::type=0)
 
template<typename >
static bool test (...)
 

详细描述

template<typename _type1, typename _type2>
struct ystdex::details::have_equality_operator< _type1, _type2 >

自从
build 306

测试可比较相等性。

在文件 type_op.hpp339 行定义.

成员函数说明

template<typename _type1 , typename _type2 >
template<typename _type >
static bool ystdex::details::have_equality_operator< _type1, _type2 >::test ( int  ,
typename enable_if<((is_convertible< decltype(std::declval< _type >()==std::declval< _type2 >()), bool >::value)), int >::type  = 0 
)
inlinestaticprivate

在文件 type_op.hpp339 行定义.

template<typename _type1 , typename _type2 >
template<typename >
static bool ystdex::details::have_equality_operator< _type1, _type2 >::test (   ...)
inlinestaticprivate

在文件 type_op.hpp339 行定义.

类成员变量说明

template<typename _type1 , typename _type2 >
const bool ystdex::details::have_equality_operator< _type1, _type2 >::value = test()
static

在文件 type_op.hpp339 行定义.


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