--- Comment #2 from Kenji Hara <> 2011-03-25 19:27:32 PDT ---
Created an attachment (id=935)
3 Patches

These patches has 3 points.

1. Allow NRVO for user-defined destructor object.
2. Eliminate destructor call of return value that non-copyable object in NRVO
3. On assignment (e1 = e2) if e2 is non-copyable and prvalue, this expression
generates following code:
   e1 = e2;  // bit copy

This is much experimental, but I hope that it helps the language evolution.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to