classInstanceSize and vtable

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 23 23:18:43 PDT 2014


Etienne Cimon:

> So what's the point of making a class or methods final?

It forbids subclassing. And final methods are not virtual, so 
they can be inlined.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list