Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2004-09-20 13:02:28

Maxim Yegorushkin wrote:
> Here is the link:

"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?


Boost list run by bdawes at, gregod at, cpdaniel at, john at