C++11 final classes

Florian Weimer fweimer@redhat.com
Mon Oct 14 09:25:00 GMT 2013


Are C++11 final classes really final, or is it still possible to define 
a derived class through some hack without violating language rules?

It seems we devirtualize calls to virtual members of final classes in 
some cases, so I assume final is really final, but I'm not sure. :-)

-- 
Florian Weimer / Red Hat Product Security Team



More information about the Gcc-help mailing list