Open
Description
#28 introduced a number of questionable changes:
- the
clear
method inFunctionPointerBase
andFunctionPointerBind
. This was introduced because it looks like it might be needed in MINAR. If it turns out that it's not,clear
needs to be removed. - private virtual destructor in
FunctionPointerBase
(following the already present private constructor). With that in mind, It might be thatFunctionPointerBind
andFunctionPointerX
should not inherit fromFunctionPointerBase
, but rather include it, using composition (and a proper name change). This isn't an error, just a possible improvement if it turns out to be the right idea.