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

Namespace rswhite4 at googlemail.com
Fri Dec 28 14:29:38 PST 2012


Spontaneous question: why was the behavior altered from lvalue to 
rvalue if there is still no replacement with "auto ref" and so a 
lot of code becomes invalid?
I know of course that the change was necessary, but as long as 
there is no fix I don't understand such ruthless change.
It meant no offense, I'm just curious.


More information about the Digitalmars-d-learn mailing list