On Sunday, January 27, 2013 07:28:24 deadalnix wrote:
> Back on the point, quoting « Having ref accept rValues seems like
> a bad idea. ». D accepted it for ages, some language accept it by
> design (java for instance).
> 
> Now can someone show me the code ?

D's ref has never accepted rvalues. Rather, struct literals were incorrectly 
treated as lvalues. And Java has nothing like ref whatsoever. It has 
references like D's references, which are managed pointers, but that's 
completely different.

- Jonathan M Davis

Reply via email to