⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xxbind1

📁 C语言库函数的原型,有用的拿去
💻
📖 第 1 页 / 共 3 页
字号:

template<class _Ret,
	class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	typename enable_if<!is_same<_Ret, _Rx>::value,
		_Bind<_Ret,
			_Rx,
			_BINDN<_Callable_pmf<_Rx(__stdcall _Farg0::*const)(_FARG1_FARG2) const,
				_Farg0>, _ARG0_ARG1> >
		>::type
			bind(_Rx(__stdcall _Farg0::* const _Val)(_FARG1_FARG2) const _C_ARG0_A0)
	{	// bind to pointer to const member function and user-specified return
	typedef _Callable_pmf<_Rx(__stdcall _Farg0::*const)(_FARG1_FARG2) const, _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Ret, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	_Bind<_Rx,
		_Rx,
		_BINDN<_Callable_pmf<_Rx(__stdcall _Farg0::*const)(_FARG1_FARG2) const,
			_Farg0>, _ARG0_ARG1> >
			bind(_Rx(__stdcall _Farg0::* const _Val)(_FARG1_FARG2) const _C_ARG0_A0)
	{	// bind to pointer to const member function
	typedef _Callable_pmf<_Rx(__stdcall _Farg0::*const)(_FARG1_FARG2) const, _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Rx, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Ret,
	class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	typename enable_if<!is_same<_Ret, _Rx>::value,
		_Bind<_Ret,
			_Rx,
			_BINDN<_Callable_pmf<_Rx(__stdcall _Farg0::*const)(_FARG1_FARG2) volatile,
				_Farg0>, _ARG0_ARG1> >
		>::type
		bind(_Rx(__stdcall _Farg0::* const _Val)(_FARG1_FARG2) volatile _C_ARG0_A0)
	{	// bind to pointer to volatile member and user-specified return
	typedef _Callable_pmf<_Rx(__stdcall _Farg0::*const)(_FARG1_FARG2) volatile, _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Ret, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	_Bind<_Rx,
		_Rx,
		_BINDN<_Callable_pmf<_Rx(__stdcall _Farg0::*const)(_FARG1_FARG2) volatile,
			_Farg0>, _ARG0_ARG1> >
			bind(_Rx(__stdcall _Farg0::* const _Val)(_FARG1_FARG2) volatile _C_ARG0_A0)
	{	// bind to pointer to volatile member function
	typedef _Callable_pmf<_Rx(__stdcall _Farg0::*const)(_FARG1_FARG2) volatile , _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Rx, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Ret,
	class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	typename enable_if<!is_same<_Ret, _Rx>::value,
		_Bind<_Ret,
			_Rx,
			_BINDN<_Callable_pmf<_Rx(__stdcall _Farg0::*const)(_FARG1_FARG2) const volatile,
				_Farg0>, _ARG0_ARG1> >
		>::type
			bind(_Rx(__stdcall _Farg0::* const _Val)(_FARG1_FARG2)
				const volatile _C_ARG0_A0)
	{	// bind to pointer to const volatile member and user-specified return
	typedef _Callable_pmf<_Rx(__stdcall _Farg0::*const)(_FARG1_FARG2) const volatile,
		_Farg0> _Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Ret, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	_Bind<_Rx,
		_Rx,
		_BINDN<_Callable_pmf<_Rx(__stdcall _Farg0::*const)(_FARG1_FARG2) const volatile,
			_Farg0>, _ARG0_ARG1> >
		bind(_Rx(__stdcall _Farg0::* const _Val)(
			_FARG1_FARG2) const volatile _C_ARG0_A0)
	{	// bind to pointer to const volatile member function
	typedef _Callable_pmf<_Rx(__stdcall _Farg0::*const)(_FARG1_FARG2) const volatile,
		_Farg0> _Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Rx, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}


  #ifndef _M_CEE
template<class _Ret,
	class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	typename enable_if<!is_same<_Ret, _Rx>::value,
		_Bind<_Ret,
			_Rx,
			_BINDN<_Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2), _Farg0>,
				_ARG0_ARG1> >
		>::type
				bind(_Rx(__fastcall _Farg0::* const _Val)(_FARG1_FARG2) _C_ARG0_A0)
	{	// bind to pointer to member function and user-specified return type
	typedef _Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2), _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Ret, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	_Bind<_Rx,
		_Rx,
		_BINDN<_Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2), _Farg0>,
			_ARG0_ARG1> >
			bind(_Rx(__fastcall _Farg0::* const _Val)(_FARG1_FARG2) _C_ARG0_A0)
	{	// bind to pointer to member function
	typedef _Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2), _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Rx, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Ret,
	class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	typename enable_if<!is_same<_Ret, _Rx>::value,
		_Bind<_Ret,
			_Rx,
			_BINDN<_Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2) const,
				_Farg0>, _ARG0_ARG1> >
		>::type
			bind(_Rx(__fastcall _Farg0::* const _Val)(_FARG1_FARG2) const _C_ARG0_A0)
	{	// bind to pointer to const member function and user-specified return
	typedef _Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2) const, _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Ret, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	_Bind<_Rx,
		_Rx,
		_BINDN<_Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2) const,
			_Farg0>, _ARG0_ARG1> >
			bind(_Rx(__fastcall _Farg0::* const _Val)(_FARG1_FARG2) const _C_ARG0_A0)
	{	// bind to pointer to const member function
	typedef _Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2) const, _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Rx, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Ret,
	class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	typename enable_if<!is_same<_Ret, _Rx>::value,
		_Bind<_Ret,
			_Rx,
			_BINDN<_Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2) volatile,
				_Farg0>, _ARG0_ARG1> >
		>::type
		bind(_Rx(__fastcall _Farg0::* const _Val)(_FARG1_FARG2) volatile _C_ARG0_A0)
	{	// bind to pointer to volatile member and user-specified return
	typedef _Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2) volatile, _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Ret, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	_Bind<_Rx,
		_Rx,
		_BINDN<_Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2) volatile,
			_Farg0>, _ARG0_ARG1> >
			bind(_Rx(__fastcall _Farg0::* const _Val)(_FARG1_FARG2) volatile _C_ARG0_A0)
	{	// bind to pointer to volatile member function
	typedef _Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2) volatile , _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Rx, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Ret,
	class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	typename enable_if<!is_same<_Ret, _Rx>::value,
		_Bind<_Ret,
			_Rx,
			_BINDN<_Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2) const volatile,
				_Farg0>, _ARG0_ARG1> >
		>::type
			bind(_Rx(__fastcall _Farg0::* const _Val)(_FARG1_FARG2)
				const volatile _C_ARG0_A0)
	{	// bind to pointer to const volatile member and user-specified return
	typedef _Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2) const volatile,
		_Farg0> _Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Ret, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	_Bind<_Rx,
		_Rx,
		_BINDN<_Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2) const volatile,
			_Farg0>, _ARG0_ARG1> >
		bind(_Rx(__fastcall _Farg0::* const _Val)(
			_FARG1_FARG2) const volatile _C_ARG0_A0)
	{	// bind to pointer to const volatile member function
	typedef _Callable_pmf<_Rx(__fastcall _Farg0::*const)(_FARG1_FARG2) const volatile,
		_Farg0> _Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Rx, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}
  #endif /* _M_CEE */
 #endif /* _M_IX86 */


 #ifdef _M_CEE
template<class _Ret,
	class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	typename enable_if<!is_same<_Ret, _Rx>::value,
		_Bind<_Ret,
			_Rx,
			_BINDN<_Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2), _Farg0>,
				_ARG0_ARG1> >
		>::type
				bind(_Rx(__clrcall _Farg0::* const _Val)(_FARG1_FARG2) _C_ARG0_A0)
	{	// bind to pointer to member function and user-specified return type
	typedef _Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2), _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Ret, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	_Bind<_Rx,
		_Rx,
		_BINDN<_Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2), _Farg0>,
			_ARG0_ARG1> >
			bind(_Rx(__clrcall _Farg0::* const _Val)(_FARG1_FARG2) _C_ARG0_A0)
	{	// bind to pointer to member function
	typedef _Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2), _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Rx, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Ret,
	class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	typename enable_if<!is_same<_Ret, _Rx>::value,
		_Bind<_Ret,
			_Rx,
			_BINDN<_Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2) const,
				_Farg0>, _ARG0_ARG1> >
		>::type
			bind(_Rx(__clrcall _Farg0::* const _Val)(_FARG1_FARG2) const _C_ARG0_A0)
	{	// bind to pointer to const member function and user-specified return
	typedef _Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2) const, _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Ret, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	_Bind<_Rx,
		_Rx,
		_BINDN<_Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2) const,
			_Farg0>, _ARG0_ARG1> >
			bind(_Rx(__clrcall _Farg0::* const _Val)(_FARG1_FARG2) const _C_ARG0_A0)
	{	// bind to pointer to const member function
	typedef _Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2) const, _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Rx, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Ret,
	class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	typename enable_if<!is_same<_Ret, _Rx>::value,
		_Bind<_Ret,
			_Rx,
			_BINDN<_Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2) volatile,
				_Farg0>, _ARG0_ARG1> >
		>::type
		bind(_Rx(__clrcall _Farg0::* const _Val)(_FARG1_FARG2) volatile _C_ARG0_A0)
	{	// bind to pointer to volatile member and user-specified return
	typedef _Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2) volatile, _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Ret, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	_Bind<_Rx,
		_Rx,
		_BINDN<_Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2) volatile,
			_Farg0>, _ARG0_ARG1> >
			bind(_Rx(__clrcall _Farg0::* const _Val)(_FARG1_FARG2) volatile _C_ARG0_A0)
	{	// bind to pointer to volatile member function
	typedef _Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2) volatile , _Farg0>
		_Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Rx, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Ret,
	class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	typename enable_if<!is_same<_Ret, _Rx>::value,
		_Bind<_Ret,
			_Rx,
			_BINDN<_Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2) const volatile,
				_Farg0>, _ARG0_ARG1> >
		>::type
			bind(_Rx(__clrcall _Farg0::* const _Val)(_FARG1_FARG2)
				const volatile _C_ARG0_A0)
	{	// bind to pointer to const volatile member and user-specified return
	typedef _Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2) const volatile,
		_Farg0> _Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Ret, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}

template<class _Rx,
	_CLASS_FARG0,
	_CLASS_ARG0> inline
	_Bind<_Rx,
		_Rx,
		_BINDN<_Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2) const volatile,
			_Farg0>, _ARG0_ARG1> >
		bind(_Rx(__clrcall _Farg0::* const _Val)(
			_FARG1_FARG2) const volatile _C_ARG0_A0)
	{	// bind to pointer to const volatile member function
	typedef _Callable_pmf<_Rx(__clrcall _Farg0::*const)(_FARG1_FARG2) const volatile,
		_Farg0> _Callable;
	typedef _BINDN<_Callable, _ARG0_ARG1> _MyBind;
	return (_Bind<_Rx, _Rx, _MyBind>(_MyBind(_Val, _A0_A1)));
	}
 #endif /* _M_CEE */
 #endif /* _NARGS != 0 */

#undef _VN
#undef _AN
#undef _ARGN
#undef _BINDER_NAME
#undef _PREV_BINDN
#undef _BINDN
#undef _BINDER_ARGS
#undef _ARGS
#undef _ARGT
#undef _ARGU
#undef _BINDER_TYPES
#undef _RESULT_OF

/*
 * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -