digitalmars.D - final keyword?
- Jason House (3/3) Jan 02 2008 Reviewing online docs, I see mention of final in a few places I don't ex...
- Walter Bright (3/11) Jan 04 2008 I'll fix, thanks.
- Jason House (2/11) Jan 04 2008 I don't believe the online docs discuss this subtlety anywhere. The dec...
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. http://www.digitalmars.com/d/function.html lists "in" as "final const scope".
Jan 02 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.
Jan 04 2008
Walter Bright Wrote:Jason House wrote:I don't believe the online docs discuss this subtlety anywhere. The declarations page doesn't even discuss the meaning of the final keyword.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.
Jan 04 2008