Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-09-18 20:51:00


"Maxim Yegorushkin" <e-maxim_at_[hidden]> wrote in message
news:opsejsvsjeti5cme_at_wkcg6rirwp...
> 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?

Jonathan


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