Adding moving to basic_string

Paolo Carlini
Tue May 17 14:17:00 GMT 2005

Paolo Carlini wrote:

>In the move-semantics + short-string optimization
>case, we can often spare reallocating (b+c) (if there is sufficient
>space available for d too) but then the final assignment is expensive.
Unless we can also manage to move (b+c+d) to a. But I don't think we can
really implement that without real move semantics.


More information about the Libstdc++ mailing list