On Variable References
Meta via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jan 21 09:14:27 PST 2015
On Wednesday, 21 January 2015 at 08:23:44 UTC, Per Nordlöw wrote:
> On Wednesday, 21 January 2015 at 08:22:44 UTC, Per Nordlöw
> wrote:
>> int x;
>> auto ref xr;
>
> Correction: I, of course mean,
>
> int x = 42;
> auto ref xr = x;
Walter is strongly against adding references a la C++ to D, as he
believes they are too complicated and bug prone. He's made
several posts on this, but I can't find them now.
More information about the Digitalmars-d-learn
mailing list