Boost logo

Boost :

From: Janek Kozicki (janek_listy_at_[hidden])
Date: 2006-08-27 06:00:14


Alexander Nasonov said: (by the date of Sat, 26 Aug 2006 21:27:23 +0000)

> Hello,
> I recently commited the version 1.26 of lexical_cast.hpp
> that optimizes many combinations of types.
>
> How it works:
>
> The lexical_cast reserves a local buffer for bool, char, wchar_t
> and other integral types.

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?

-- 
Janek Kozicki                                                         |

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