|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
仿函数:替换非静态成员二元函数的第一个参数并绑定到指定对象。 更多...
#include <yfunc.hpp>
Public 成员函数 | |
| yconstfn | ExpandMemberFirstBinder (_tNew &obj, _tRet(_type::*p)(_tPara)) |
| 构造:使用非 _type 类型对象引用和成员函数指针。 更多... | |
| yconstfn bool | operator== (const ExpandMemberFirstBinder &rhs) const ynothrow |
| 比较:相等关系。 更多... | |
| _tRet | operator() (_tPara &&arg) |
| 调用:使用替换对象引用和参数。 更多... | |
| template<class _tN > | |
| _tRet | operator() (_tN &, _tPara &&arg) |
| 调用:使用替换对象引用和参数。 更多... | |
Private 属性 | |
| _type * | _po |
| _tRet(_type::* | _pm )(_tPara) |
仿函数:替换非静态成员二元函数的第一个参数并绑定到指定对象。
|
inline |
|
inline |
调用:使用替换对象引用和参数。
参考 YSLib::ExpandMemberFirstBinder< _type, _tRet, _tPara, _tNew >::_pm, YSLib::ExpandMemberFirstBinder< _type, _tRet, _tPara, _tNew >::_po, YB_LIKELY , 以及 yforward.
|
inline |
调用:使用替换对象引用和参数。
参考 YSLib::ExpandMemberFirstBinder< _type, _tRet, _tPara, _tNew >::_pm, YSLib::ExpandMemberFirstBinder< _type, _tRet, _tPara, _tNew >::_po, YB_LIKELY , 以及 yforward.
|
inline |
|
private |
|
private |