Is there any point in using `override` when overriding a pure virtual function? – stackoverflow.com

For example: class Base { virtual void my_function() = 0; }; class Derived : Base { void my_function() override; }; From what I read, the override keyword is used to make sure that we have the ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Is there any point in using `override` when overriding a pure virtual function? – stackoverflow.com"