structs are now rvalues - what is with "auto ref"?

Namespace rswhite4 at googlemail.com
Sun Dec 23 15:56:26 PST 2012


On Sunday, 23 December 2012 at 23:53:49 UTC, Andrej Mitrovic 
wrote:
> On 12/24/12, Namespace <rswhite4 at googlemail.com> wrote:
>> As the title says: In dmd 2.061 structs are lvalues now
>
> You mean struct literals? They're rvalues now, this wasn't 
> enforced
> before but it is now since a recent pull. Can't answer your 
> other
> question, sorry.

Yes of course. They was lvalues.


More information about the Digitalmars-d-learn mailing list