
20 Sep
2004
20 Sep
'04
6:02 p.m.
Maxim Yegorushkin wrote: [...]
Here is the link: http://conststring.sourceforge.net/
"The mutability of std::basic_string<> and its interface do not allow implementers to make it a lightweight value object with cheap copy operation through string representation sharing and copy-on-write technique while maintaining thread safety." This claim borders on blatant FUD. Claims to the extent that std:: string is sorta "less thread-safe then char[]" don't hold water because there isn't non-const overload of operator[] for char[]. Or am I just missing something? regards, alexander.