[Issue 11287] NRVO should remove dtor call completely

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 17 08:12:44 PDT 2013


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


Max Samukha <samukha at voliacable.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |samukha at voliacable.com


--- Comment #3 from Max Samukha <samukha at voliacable.com> 2013-10-17 08:12:42 PDT ---
(In reply to comment #2)

> Unfortunately current D language spec does not mention about NRVO, so It's
> still one of the optimizations. But, at least, current dmd always apply NRVO
> for the specific test case.

How are the standard library's constructs such as "scoped" supposed to work if
NRVO is optional?

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


More information about the Digitalmars-d-bugs mailing list