diff --git a/src/common/mp.h b/src/common/mp.h index 66870080..b624867f 100644 --- a/src/common/mp.h +++ b/src/common/mp.h @@ -48,6 +48,13 @@ struct FunctionInfo : public FunctionInfo using class_type = C; }; +/// Partial specialization for const member function pointers. +template +struct FunctionInfo : public FunctionInfo +{ + using class_type = C; +}; + /** * Helper template for retrieving the type of a function parameter. *