
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. On 8/27/06, Alexander Nasonov <alnsn@yandex.ru> wrote:
Janek Kozicki wrote:
great, but is this code thread safe? Think about several different threads calling lexical_cast<> simultaneously. Will this local buffer get mangled in such situation?
local buffer == allocated on stack. It is thread safe.
-- Alexander Nasonov Project Manager at Akmosoft ( http://www.akmosoft.com ) Blog: http://nasonov.blogspot.com Email: $(FirstName) dot $(LastName) at gmail dot com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- Thanks, Greg