final keyword?

Walter Bright newshound1 at digitalmars.com
Fri Jan 4 12:40:11 PST 2008


Jason House wrote:
> Reviewing online docs, I see mention of final in a few places I don't
> expect it.  Am I misunderstanding the current design?
> 
> http://www.digitalmars.com/d/declaration.html lists final as a
> storage class option.  I believe variable declarations can no longer
> be declared final.

But functions can be.

> http://www.digitalmars.com/d/function.html lists "in" as "final const
> scope".

I'll fix, thanks.



More information about the Digitalmars-d mailing list