Skip to content

Possible fixes to FunctionPointer PR (#28) #30

Open
@bogdanm

Description

@bogdanm

#28 introduced a number of questionable changes:

  • the clear method in FunctionPointerBase and FunctionPointerBind. 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 that FunctionPointerBind and FunctionPointerX should not inherit from FunctionPointerBase, 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions