Boost logo

Boost :

Subject: Re: [boost] [string] proposal
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-01-24 06:36:07


On Fri, Jan 21, 2011 at 5:00 PM, Ivan Le Lann <ivan.lelann_at_[hidden]> wrote:
>
> ----- "Nevin Liber" <nevin_at_[hidden]> wrote :
>
>> On 21 January 2011 11:56, Dean Michael Berris
>> <mikhailberis_at_[hidden]>wrote:
>>
>> > No changing arbitrary content in the string. Concatenation is a
>> > process of creating new strings.
>> >
>> > Ultimately the underlying string should be efficient
>>
>>
>> Please describe how you are going to make this efficient, if
>> concatenation
>> effectively requires an allocation (once past the small string
>> optimization)
>> and a copy.
>>
>
> Isn't rope worth a try here ?

Absolutely!

<shameless plug>
The author of rope is giving the keynote at BoostCon this year.
</shamelses>

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