3 ms·
C++11 also has them: override and final. So: class Foo { virtual void bar() final; }; But: int final = 3; So, for example, this is legal:
by ggchappell 14y ago
C++11 also has them: override and final.
So:
class Foo
{
virtual void bar() final;
};
But:
int final = 3;
So, for example, this is legal:
class Foo
{
virtual void final() final;
};