Boost logo

Boost :

Subject: Re: [boost] [string] Yet another Unicode string class
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-02-13 18:52:43


On Thu, Feb 10, 2011 at 3:38 PM, Anders Dalvander <boost_at_[hidden]> 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?

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk