This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Exploit move semantics in std::accumulate.


... for concreteness, this is what I actually tested. Seems safe to me,
being restricted to string / wstring (eg, no problem with basic_string
specializations), I can't see how the user could detect the
optimization. I'd like to apply the change in order to continue
experimenting with the nice idea...

Thanks,
Paolo.

/////////////////////

Attachment: p
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]