xxrefwrap
来自「C语言库函数的原型,有用的拿去」· 代码 · 共 1,239 行 · 第 1/3 页
TXT
1,239 行
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__thiscall _Arg0::*)(_ARG1_ARG2) const>
: _Call_wrapper<_Callable_pmf<
_Rx(__thiscall _Arg0::*)(_ARG1_ARG2) const, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to const member function
typedef _Rx(__thiscall _Arg0::* _Fty)(_ARG1_ARG2) const;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__thiscall _Arg0::*)(_ARG1_ARG2) volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__thiscall _Arg0::*)(_ARG1_ARG2) volatile, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to volatile member function
typedef _Rx(__thiscall _Arg0::* _Fty)(_ARG1_ARG2) volatile;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__thiscall _Arg0::*)(_ARG1_ARG2) const volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__thiscall _Arg0::*)(_ARG1_ARG2) const volatile, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to const volatile member function
typedef _Rx(__thiscall _Arg0::* _Fty)(_ARG1_ARG2) const volatile;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
#ifdef _M_IX86
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__cdecl _Arg0::*const)(_ARG1_ARG2)>
: _Call_wrapper<_Callable_pmf<
_Rx(__cdecl _Arg0::*const)(_ARG1_ARG2), _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to member function
typedef _Rx(__cdecl _Arg0::*const _Fty)(_ARG1_ARG2);
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__cdecl _Arg0::*const)(_ARG1_ARG2) const>
: _Call_wrapper<_Callable_pmf<
_Rx(__cdecl _Arg0::*const)(_ARG1_ARG2) const, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to const member function
typedef _Rx(__cdecl _Arg0::*const _Fty)(_ARG1_ARG2) const;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__cdecl _Arg0::*const)(_ARG1_ARG2) volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__cdecl _Arg0::*const)(_ARG1_ARG2) volatile, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to volatile member function
typedef _Rx(__cdecl _Arg0::*const _Fty)(_ARG1_ARG2) volatile;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__cdecl _Arg0::*const)(_ARG1_ARG2) const volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__cdecl _Arg0::*const)(_ARG1_ARG2) const volatile, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to const volatile member function
typedef _Rx(__cdecl _Arg0::*const _Fty)(_ARG1_ARG2) const volatile;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__cdecl _Arg0::*)(_ARG1_ARG2)>
: _Call_wrapper<_Callable_pmf<
_Rx(__cdecl _Arg0::*)(_ARG1_ARG2), _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to member function
typedef _Rx(__cdecl _Arg0::* _Fty)(_ARG1_ARG2);
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__cdecl _Arg0::*)(_ARG1_ARG2) const>
: _Call_wrapper<_Callable_pmf<
_Rx(__cdecl _Arg0::*)(_ARG1_ARG2) const, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to const member function
typedef _Rx(__cdecl _Arg0::* _Fty)(_ARG1_ARG2) const;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__cdecl _Arg0::*)(_ARG1_ARG2) volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__cdecl _Arg0::*)(_ARG1_ARG2) volatile, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to volatile member function
typedef _Rx(__cdecl _Arg0::* _Fty)(_ARG1_ARG2) volatile;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__cdecl _Arg0::*)(_ARG1_ARG2) const volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__cdecl _Arg0::*)(_ARG1_ARG2) const volatile, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to const volatile member function
typedef _Rx(__cdecl _Arg0::* _Fty)(_ARG1_ARG2) const volatile;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__stdcall _Arg0::*const)(_ARG1_ARG2)>
: _Call_wrapper<_Callable_pmf<
_Rx(__stdcall _Arg0::*const)(_ARG1_ARG2), _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to member function
typedef _Rx(__stdcall _Arg0::*const _Fty)(_ARG1_ARG2);
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__stdcall _Arg0::*const)(_ARG1_ARG2) const>
: _Call_wrapper<_Callable_pmf<
_Rx(__stdcall _Arg0::*const)(_ARG1_ARG2) const, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to const member function
typedef _Rx(__stdcall _Arg0::*const _Fty)(_ARG1_ARG2) const;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__stdcall _Arg0::*const)(_ARG1_ARG2) volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__stdcall _Arg0::*const)(_ARG1_ARG2) volatile, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to volatile member function
typedef _Rx(__stdcall _Arg0::*const _Fty)(_ARG1_ARG2) volatile;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__stdcall _Arg0::*const)(_ARG1_ARG2) const volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__stdcall _Arg0::*const)(_ARG1_ARG2) const volatile, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to const volatile member function
typedef _Rx(__stdcall _Arg0::*const _Fty)(_ARG1_ARG2) const volatile;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__stdcall _Arg0::*)(_ARG1_ARG2)>
: _Call_wrapper<_Callable_pmf<
_Rx(__stdcall _Arg0::*)(_ARG1_ARG2), _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to member function
typedef _Rx(__stdcall _Arg0::* _Fty)(_ARG1_ARG2);
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__stdcall _Arg0::*)(_ARG1_ARG2) const>
: _Call_wrapper<_Callable_pmf<
_Rx(__stdcall _Arg0::*)(_ARG1_ARG2) const, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to const member function
typedef _Rx(__stdcall _Arg0::* _Fty)(_ARG1_ARG2) const;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__stdcall _Arg0::*)(_ARG1_ARG2) volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__stdcall _Arg0::*)(_ARG1_ARG2) volatile, _Arg0, true> >
#if _NARGS == 1
, unary_function<_Arg0 *const, _Rx>
#elif _NARGS == 2
, binary_function<_Arg0 *const, _Arg1, _Rx>
#endif /* _NARGS */
{ // implement for pointer to volatile member function
typedef _Rx(__stdcall _Arg0::* _Fty)(_ARG1_ARG2) volatile;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?