Why D needs tail const

Adam D. Ruppe destructionator at gmail.com
Wed Mar 28 07:11:09 PDT 2012


I'm pretty sure there's a dmd pull request or
patch or something for this already.

IIRC Michel Fortin implemented it as Object ref obj;
(which is the same as Object obj;) and const(Object) ref obj;
as tail const.

Don't know where it is now though...


More information about the Digitalmars-d-announce mailing list