--- Comment #4 from Max Samukha <samu...@voliacable.com> 2010-07-26 04:01:35
But does it specify that the object should not be moved? Currently, the struct
is constructed on the callee's frame and then blitted (moved) to the caller's
frame, though the compiler can optimize the blit out (as GNU C++ does). If this
kind of RVO is not specified, obviously 'scoped' cannot rely on it and will
remain broken even if dmd will eventually be able to apply the optimization.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------