Boost logo

Boost :

From: Bill Seymour (bsey_at_[hidden])
Date: 2001-05-09 15:07:53


Ken Shaw wrote:
>
> ... I would ask that you make sure that any conversion to strings
> use locale facets ...
>

Most definitely. The basic class, which represents pure numbers,
would use numpunct; and a more derived class representing amounts
of currency could, if I'm not mistaken, use money_get and money_put
directly because of the string_type& overloads of do_get and do_put.
(I'm a newbie to the C++ locale mechanism, so this is going to be
a good learning experience for me.)

>
> Is there any known implementations of locale facets beyond the
> classic "C" locale?
>

I used a variety of C-style locales in a toy program using MSVC
a while ago...haven't tried C++ locales with it yet.

--Bill Seymour


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