http://d.puremagic.com/issues/show_bug.cgi?id=11287
--- Comment #4 from Kenji Hara <[email protected]> 2013-10-17 09:08:07 PDT --- (In reply to comment #3) > (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? Yes. std.typecons.scoped requires NRVO in order to implement its own semantic. That's why NRVO should be mentioned properly in language spec. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
