[Bug c++/65856] -Wsuggest-override shall not report a warning on final method

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 23 18:25:00 GMT 2015


--- Comment #8 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Helfer Thomas from comment #7)
> can you give me the rationale of this usage ?

See also -Wsuggest-final-types -Wsuggest-final-methods in the gcc manual.

Although Stroustrup recommends to not use "final" blindly, without prior
measurements (, TC++PL 4th edition).

More information about the Gcc-bugs mailing list