Skip to main content
3 events
when toggle format what by license comment
Mar 31, 2017 at 10:42 comment added Andy Forrest Mixing up classes and instances is what I have accepted the answer for. The use case was a base class which allows derived classes to add extra actions to a context menu. One of the derived classes is a sort of "group type", and I wanted to be able to call the virtual protected member function which allows each derived class to fill in their specialized bits from the base class for each child item, to append to a sub menu. Its far from the end of the world that this is now a public function, but it is something which is still only used internally by classes which derive the base.
Mar 31, 2017 at 10:33 vote accept Andy Forrest
Mar 31, 2017 at 10:13 history answered Scrontch CC BY-SA 3.0