How to overwrite virtual fnc in good style? [C++]
- by atch
Hi, guys I know this question is very basic but I've met in few publications (websites, books) different style of overwriting virtual function. What I mean is: if I have base class:
class Base
{
public:
virtual void f() = 0;
};
in some publications I saw that to overwrite this some authors would just say:
void f();
and some would still repeat the virtual keyword before void. Which form of overwriting is in good style?
Thank you for your answers.