http://d.puremagic.com/issues/show_bug.cgi?id=11287
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from [email protected] 2013-10-17 05:41:32 PDT --- Question: Doesn't this mean that the compiler *must* implement NRVO? I thought NRVO was an optimization *opportunity*? If //---- A getA() pure { A a; // line 7 return a; // NRVO } //---- Is legal, then it means that only compilers hat implement NRVO will handle this. Sorry if it's a stupid question. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
