xxrefwrap
来自「C语言库函数的原型,有用的拿去」· 代码 · 共 1,239 行 · 第 1/3 页
TXT
1,239 行
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__stdcall _Arg0::*)(_ARG1_ARG2) const volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__stdcall _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(__stdcall _Arg0::* _Fty)(_ARG1_ARG2) const volatile;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
#ifndef _M_CEE
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__fastcall _Arg0::*const)(_ARG1_ARG2)>
: _Call_wrapper<_Callable_pmf<
_Rx(__fastcall _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(__fastcall _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(__fastcall _Arg0::*const)(_ARG1_ARG2) const>
: _Call_wrapper<_Callable_pmf<
_Rx(__fastcall _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(__fastcall _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(__fastcall _Arg0::*const)(_ARG1_ARG2) volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__fastcall _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(__fastcall _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(__fastcall _Arg0::*const)(_ARG1_ARG2) const volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__fastcall _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(__fastcall _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(__fastcall _Arg0::*)(_ARG1_ARG2)>
: _Call_wrapper<_Callable_pmf<
_Rx(__fastcall _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(__fastcall _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(__fastcall _Arg0::*)(_ARG1_ARG2) const>
: _Call_wrapper<_Callable_pmf<
_Rx(__fastcall _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(__fastcall _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(__fastcall _Arg0::*)(_ARG1_ARG2) volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__fastcall _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(__fastcall _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(__fastcall _Arg0::*)(_ARG1_ARG2) const volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__fastcall _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(__fastcall _Arg0::* _Fty)(_ARG1_ARG2) const volatile;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
#endif /* _M_CEE */
#endif /* _M_IX86 */
#ifdef _M_CEE
template<class _Rx
_C_CLASS_ARG0>
struct _Refwrap_impl<_Rx(__clrcall _Arg0::*const)(_ARG1_ARG2)>
: _Call_wrapper<_Callable_pmf<
_Rx(__clrcall _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(__clrcall _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(__clrcall _Arg0::*const)(_ARG1_ARG2) const>
: _Call_wrapper<_Callable_pmf<
_Rx(__clrcall _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(__clrcall _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(__clrcall _Arg0::*const)(_ARG1_ARG2) volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__clrcall _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(__clrcall _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(__clrcall _Arg0::*const)(_ARG1_ARG2) const volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__clrcall _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(__clrcall _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(__clrcall _Arg0::*)(_ARG1_ARG2)>
: _Call_wrapper<_Callable_pmf<
_Rx(__clrcall _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(__clrcall _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(__clrcall _Arg0::*)(_ARG1_ARG2) const>
: _Call_wrapper<_Callable_pmf<
_Rx(__clrcall _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(__clrcall _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(__clrcall _Arg0::*)(_ARG1_ARG2) volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__clrcall _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(__clrcall _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(__clrcall _Arg0::*)(_ARG1_ARG2) const volatile>
: _Call_wrapper<_Callable_pmf<
_Rx(__clrcall _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(__clrcall _Arg0::* _Fty)(_ARG1_ARG2) const volatile;
typedef _Rx result_type;
_Refwrap_impl(_Fty& _Val)
: _Call_wrapper<_Callable_pmf<_Fty, _Arg0, true> >(_Val)
{ // construct
}
};
#endif /* _M_CEE */
#endif /* _NARGS != 0 */
/*
* Copyright (c) 1992-2009 by P.J. Plauger. ALL RIGHTS RESERVED.
* Consult your license regarding permissions and restrictions.
V5.20:0009 */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?