You want this:
typedef void (K::*MemFuncType)() const;
If you want to still base MemFuncType
on FuncType
, you need to change FuncType
:
typedef void FuncType() const;
typedef FuncType K::* MemFuncType;
You want this:
typedef void (K::*MemFuncType)() const;
If you want to still base MemFuncType
on FuncType
, you need to change FuncType
:
typedef void FuncType() const;
typedef FuncType K::* MemFuncType;