YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
#include <yevt.hpp>
类 | |
struct | GEquality |
Public 类型 | |
using | TupleType = tuple< _tParams...> |
using | FuncType = _tRet(_tParams...) |
using | BaseType = std::function< FuncType > |
Public 成员函数 | |
yconstfn | GHEvent (FuncType *f) |
构造:使用函数指针。 更多... | |
template<class _fCallable > | |
yconstfn | GHEvent (_fCallable f, ystdex::enable_if_t< std::is_constructible< BaseType, _fCallable >::value, int >=0) |
使用函数对象。 更多... | |
template<class _fCallable > | |
yconstfn | GHEvent (_fCallable &&f, ystdex::enable_if_t< !std::is_constructible< BaseType, _fCallable >::value, int >=0) |
使用扩展函数对象。 更多... | |
template<class _type > | |
yconstfn | GHEvent (_type &obj, _tRet(_type::*pm)(_tParams...)) |
构造:使用对象引用和成员函数指针。 更多... | |
Private 类型 | |
using | Comparer = bool(*)(const GHEvent &, const GHEvent &) |
比较函数类型。 更多... | |
静态 Private 成员函数 | |
template<typename _type > | |
static yconstfn Comparer | GetComparer (_type &x, _type &y, decltype(x==y)={}) ynothrow |
template<typename _type , typename _tUnused > | |
static yconstfn Comparer | GetComparer (_type &, _tUnused &) ynothrow |
static yconstfn bool | AreAlwaysEqual (const GHEvent &, const GHEvent &) ynothrow |
Private 属性 | |
Comparer | comp_eq |
比较函数:相等关系。 更多... | |
using YSLib::GHEvent< _tRet(_tParams...)>::FuncType = _tRet(_tParams...) |
using YSLib::GHEvent< _tRet(_tParams...)>::TupleType = tuple<_tParams...> |
|
inline |
|
inline |
|
inline |
|
private |