--- Comment #2 from Cristi Cobzarenco <> 2011-06-23 
13:08:14 PDT ---
(In reply to comment #1)
> No 'ref' does require the parameter as an lvalue, even if 'const' is present.
> This is different from C++. I think it's a duplicate of bug 3167.
> Also, the struct literal 'Test()' currently returns an lvalue, not an rvalue.
> See bug 5889.

Aha, I guess you're right, I assumed that const would fix it (bug 3167 only
talks about normal refs), 'in' works though.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to