Boost logo

Boost :

Subject: Re: [boost] [string] proposal
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2011-01-26 09:40:57


On Wed, Jan 26, 2011 at 5:54 PM, Matus Chochlik <chochlik_at_[hidden]> wrote:
> On Wed, Jan 26, 2011 at 10:37 AM, Yakov Galka <ybungalobill_at_[hidden]> wrote:
>> Excuse my ignorance, but can someone explain to me why people are so keen on
>> immutable strings? Aren't they basically the same as 'shared_ptr<const
>> std::string>'?
>
> I'm fairly neutral on the immutability issue, I do not oppose it if
> someone shows why it is a superior design,  provided it does not
> break everything horribly (from the backward compatibility perspective).
>

I think I missed the part where the immutable string has to be
backward compatible.

Backward compatible to what?

-- 
Dean Michael Berris
about.me/deanberris

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