With block proposal

Michiel Helvensteijn m.helvensteijn.remove at gmail.com
Thu Aug 27 10:13:40 PDT 2009


Daniel Keep wrote:

>> you can also say
>> 
>> { auto w = a; w.x = f(); w.x = g(); }
>> 
>> or similar.
> 
> Unless a is a value-type member of something else.

That's why I said 'or similar'. Doesn't D have anything to create an
alias/reference to a value-type variable?

-- 
Michiel Helvensteijn




More information about the Digitalmars-d mailing list