From 163b67bf1fd092340390e69faad413446a870710 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Fri, 23 Dec 2016 11:32:12 +0000 Subject: [PATCH] mp: Add support for const member function pointers to FunctionInfo --- src/common/mp.h | 7 +++++++ 1 file changed, 7 insertions(+) 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. *