Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-02-28 07:52:51


Yuval Ronen wrote:

> After thinking about it some more, perhaps what I'm complaining about
> is something that is general in the locale/facet system. Maybe what's
> really bothering me is that once a certain setting is considered as
> "locale related", such as the decimal separator, it can only be
> configured using the locale/facet over-complicated way. But sometimes
> I don't want to use the "US", "German" or any other local setting for a
> decimal separator - I want to use *my* decimal separator. I souldn'd
> be forced to use a locale in such cases, IMO. IOW, I wish *all*
> settings
> would be configurable using manipulators (or an equivalent convenient
> way), and yes, that includes a decimal separator manipulator...

I agree. This often happens when the program needs to output numbers or
dates in a specific predefined format that is locale-independent (or that is
locale-dependent but the locale information doesn't come in a form that C++
locales recognize, but as information about the required output format.)


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