Final by default?

Dmitry Olshansky dmitry.olsh at gmail.com
Thu Mar 13 12:49:50 PDT 2014


13-Mar-2014 23:40, Andrei Alexandrescu пишет:
> On 3/13/14, 12:38 PM, Dmitry Olshansky wrote:
>> 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!
>
> Looks like we could improve on this. Is there an enhancement request
> available?
>

None that I know of.

P.S. I have a strong distaste to the way OOP is currently designed in D 
anyway. No, I don't propose to change it.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list