#pragma once template struct TMemFunPtrType; template struct TMemFunPtrType { typedef RetType(Class::* Type)(ArgTypes...); }; template struct TMemFunPtrType { typedef RetType(Class::* Type)(ArgTypes...) const; };