Boost logo

Boost :

From: Maxim Yegorushkin (e-maxim_at_[hidden])
Date: 2004-09-19 04:53:35


Jonathan Turkanis <technews_at_[hidden]> wrote:

>> > And that str must not be modified during its lifetime, I guess.
>>
>> This is what the string is all about - using its interface it is
>> impossible to inadvertently modify the string.
>
> I get that part. I was just saying if you construct a const_string which
> shares
> the implementation of a std::string, it's the programmer's
> responsibility not to
> modify the std::string. Right?

Yes.

-- 
Maxim Yegorushkin

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