Boost logo

Boost :

Subject: Re: [boost] [boost[program options] locale support
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-06-21 08:12:36


Artyom wrote:

>>
>> Is it common to use different locales for different files?
>>
>
> It is very uncommon to use global locale as... about half of
> programs will be broken as they not locale-aware.
>
> (example boost::lexical_cast<std::string>(1024)=="1.024",
> many developers would not expect this)

You can change only codecvt facet.

- Volodya


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