http://d.puremagic.com/issues/show_bug.cgi?id=5690



--- Comment #4 from Kenji Hara <k.hara...@gmail.com> 2012-01-24 05:22:57 PST ---
Notice:

A NewExpression like (new StructWithConstMember(1, new C)) makes rvalue, but
dereferencing it (* new StructWithConstMember(1, new C)) makes *lvalue*.
So returning it from function by ref is valid.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to