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

Paolo Carlini paolo.carlini@oracle.com
Tue Jan 11 11:18:00 GMT 2011


... 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.

/////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110111/57eec2c2/attachment.ksh>


More information about the Libstdc++ mailing list