
19 Sep
2004
19 Sep
'04
9:53 a.m.
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?
Yes. -- Maxim Yegorushkin