Member function pointer wrapper using variadic template
问题 I'm currently trying to compile my code using Visual C++ 2013 and want to take the advantage of variadic templates. I have several classes which wrap the function pointer - several versions for different number of arguments. The wrapper for a member function with one argument is the following: template <typename T, T> struct proxy; template <typename T, typename R, typename Arg0, R(T::*mf)(Arg0)> struct proxy<R(T::*)(Arg0), mf> { proxy(T& host) : m_Host(host) {} template <typename Arg0> R