Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"Modern C++ Features – override and final"

79 views
Skip to first unread message

Lynn McGuire

unread,
Dec 16, 2015, 8:04:11 PM12/16/15
to
"Modern C++ Features – override and final"
http://arne-mertz.de/2015/12/modern-c-features-override-and-final/

"Today I write about a pair of less often discussed, less complicated features introduced in C++11, which are nevertheless useful.
Both can provide some additional security and clarity when it comes to deriving classes and overloading virtual functions."

Nice! Makes one scared to use const without painstakingly ensuring that you are consistent.

Lynn

Öö Tiib

unread,
Dec 17, 2015, 5:54:47 PM12/17/15
to
On Thursday, 17 December 2015 03:04:11 UTC+2, Lynn McGuire wrote:
> "Modern C++ Features - override and final"
It forgets to mention that

clang-modernize -add-override

does the trick automatically.
0 new messages