
14 Feb
2011
14 Feb
'11
9:53 a.m.
On 14/02/2011 00:52, Dave Abrahams wrote:
On Thu, Feb 10, 2011 at 3:38 PM, Anders Dalvander<boost@dalvander.com> wrote:
* It is (currently) immutable and shares data, and thus fast to copy.
Is there a reason you think this is a better approach than you could have by using the small string optimization and simply doing a deep copy when the internal buffer is too small?
SBO makes moving a string costly.