Final by default?

Steven Schveighoffer schveiguy at yahoo.com
Thu Mar 13 12:52:47 PDT 2014


On Thu, 13 Mar 2014 15:38:19 -0400, Dmitry Olshansky  
<dmitry.olsh at gmail.com> wrote:

> 13-Mar-2014 21:52, monarch_dodra пишет:

>> final class A
>> {...}
>
> Not the same as `final:` inside - the above just means you can't inherit  
> from A. Funnily enough any new methods in A would still be virtual even  
> if nothing can inherit from it!
>

What? Where's that low hanging fruit again?

-Steve


More information about the Digitalmars-d mailing list