I
Ignoramus534
Does g++ provide any sorts of warnings when a non-virtual function is
overridden? I know that it is a legal thing to do in C++, but for us
it is always a wrong thing to do.
Example
class Parent {
public:
void f();
};
class Child : public Parent {
public:
void f(); // I want a WARNING here!!!
};
thanks
i
overridden? I know that it is a legal thing to do in C++, but for us
it is always a wrong thing to do.
Example
class Parent {
public:
void f();
};
class Child : public Parent {
public:
void f(); // I want a WARNING here!!!
};
thanks
i