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


Walter Bright <bugzi...@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


--- Comment #10 from Walter Bright <bugzi...@digitalmars.com> 2010-01-29 
11:55:29 PST ---
I'm going to mark this as invalid, as function return values should be rvalues,
and rvalues cannot be references, even if the vagaries of the implementation
make that possible.

The reason is "vagaries of the implementation", so it may work on one
implementation but not another. Currently, whether it (used to) work or not
also depended on the contents of the struct being returned.

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

Reply via email to