Top "Non-virtual-interface" questions

The non-virtual-interface pattern is the use of an abstract-base-class with public non-virtual functions that delegate to (pure) virtual functions that can be overridden by derived classes.

What is the point of a private pure virtual function?

I came across the following code in a header file: class Engine { public: void SetState( int var, bool val ); { SetStateBool( …

c++ oop inheritance non-virtual-interface