From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-09-21 07:35:13
Vladimir Prus wrote:
> So every library which uses lexical_cast would have to provide the
> 'imbue' and store the locale everywhere? I think per-thread global
> variable is better.
Not if you want the libraries to use different locales.
> Nope, there's only one global locale, it's not per-thread.
This is unspecified. Some implementations maintain a per-thread locale.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk