Disable GC entirely

Jacob Carlborg doob at me.com
Tue Apr 9 09:47:28 PDT 2013


On 2013-04-09 16:50, Dmitry Olshansky wrote:

> final class Foo{ //no inheritance
> final: //no virtuals
> ...
> }
>
> 2 extra words and you are done. The only problem I see is that there is
> no way to "undo" final on a few methods later...

Isn't "final" on the class enough. No point in having virtual methods if 
nothing can inherit from the class.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list