1060
1060
be private</a>.
1063
When redefining an inherited virtual function, explicitly
1064
declare it <code>virtual</code> in the declaration of the
1065
derived class. Rationale: If <code>virtual</code> is
1066
omitted, the reader has to check all ancestors of the
1067
class in question to determine if the function is virtual
1063
When redefining an inherited virtual method (both pure
1064
and non-pure), explicitly declare it <code>override</code>
1065
in the declaration of the derived class. Rationale: using
1066
<code>override</code> allows the compiler to consistently
1067
detect attempts to override methods that have been changed
1068
or completely removed. It also makes it straightforward for
1069
a reader to determine if a method is virtual or not.