On Tue, 29 Nov 2011, Robert Jones wrote:
On Tue, Nov 29, 2011 at 9:32 AM, Marc Glisse <marc.glisse@xxxxxxxx> wrote:
And those examples are
basically the only cases where copy elision is allowed. Yes, some of us
would like to change that.
Change it to more permissive of copy elision?
Yes. Note that it wouldn't always be easy for the compiler and it would
likely only pick a few low hanging fruits. I am not sure that pair
conversion is hanging quite low enough... But allowing it is a necessary
first step.
--
Marc Glisse