Inspectopedia
 
2024.3

Hiding non-virtual function

Warning
New
Last modified: 03 December 2024

Reports the functions that hide non-virtual functions with the same signature declared in the base class.

Example:

class Base { public: void operate() {} }; class Derived : public Base { public: void operate() {} }