Recommended ways to handle final classes

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Fri Aug 16 08:47:10 PDT 2013


On 08/16/2013 05:40 PM, JS wrote:
> Can you describe how this helps?
> 
> Sure, if you use A the compiler should be able to optimize method calls but you
> can't use A in inheritance because it is a final class. e.g.,

The point is, you should be able to use _A for inheritance, A for performance,
and they both have the same functionality.

Or am I mistaken?


More information about the Digitalmars-d-learn mailing list