
19 Sep
2004
19 Sep
'04
1:51 a.m.
"Maxim Yegorushkin" <e-maxim@yandex.ru> wrote in message news:opsejsvsjeti5cme@wkcg6rirwp...
Jonathan Turkanis <technews@kangaroologic.com> 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