1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
template <class S, class T>
mem_fun_ref_t<S,T> mem_fun_ref (S (T::*f)())
{ return mem_fun_ref_t<S,T>(f); }
template <class S, class T, class A>
mem_fun1_ref_t<S,T,A> mem_fun_ref (S (T::*f)(A))
{ return mem_fun1_ref_t<S,T,A>(f); }
template <class S, class T>
const_mem_fun_ref_t<S,T> mem_fun_ref (S (T::*f)() const)
{ return const_mem_fun_ref_t<S,T>(f); }
template <class S, class T, class A>
const_mem_fun1_ref_t<S,T,A> mem_fun_ref (S (T::*f)(A) const)
{ return const_mem_fun1_ref_t<S,T,A>(f); }
|