
28 Aug
2006
28 Aug
'06
2:11 p.m.
On Sun, 27 Aug 2006 18:37:49 -0700, "Gregory Dai" <gregory.dai@gmail.com> wrote:
That's not true. std::basic_string<T> is not thread safe. I spent couple months early this year to deal with that fact and finally came up with an alternative string class with the same interface as std::string but does not use the copy-on-write technique.
Did you think it had a dynamically allocated buffer _on the stack_? Where do you hold the characters of *your* string class instances? C'mon. -- [ Gennaro Prota. C++ developer, Library designer. ] [ For Hire http://gennaro-prota.50webs.com/ ]