c++ Programming Glossary: functiontraits
How to allow templated functor work on both member and non-member functions http://stackoverflow.com/questions/17218712/how-to-allow-templated-functor-work-on-both-member-and-non-member-functions in C 11 or Delegate in C#. template typename F struct FunctionTraits template typename R typename C typename A struct FunctionTraits.. template typename R typename C typename A struct FunctionTraits R C A matches a pointer to member function typedef R RetType.. typedef A Arg1Type template typename R typename A struct FunctionTraits R A matches a pointer to function typedef R RetType typedef..
|