[Bug 52] NRVO not implemented

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Sat Jun 1 11:51:08 PDT 2013


http://bugzilla.gdcproject.org/show_bug.cgi?id=52

--- Comment #4 from Johannes Pfau <johannespfau at gmail.com> 2013-06-01 18:51:08 UTC ---
Well the address should not change to make sure interior pointers stay valid.
Whether it's moved or copied doesn't matter in that case.

I think I remember Walter at some point said NRVO is guaranteed in D, although
that doesn't say anything about how it should work yet. I can't find that post
right now though.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the D.gnu mailing list