Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-08-28 10:11:07


On Sun, 27 Aug 2006 18:37:49 -0700, "Gregory Dai"
<gregory.dai_at_[hidden]> 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/ ]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk