Why D needs tail const

Jesse Phillips jessekphillips+D at gmail.com
Wed Mar 28 07:24:11 PDT 2012


On Wednesday, 28 March 2012 at 14:11:10 UTC, Adam D. Ruppe wrote:
> 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...

One of the first pull requests

https://github.com/D-Programming-Language/dmd/pull/3


More information about the Digitalmars-d-announce mailing list