Boost logo

Boost :

From: Rainer Deyke (root_at_[hidden])
Date: 2001-05-09 16:49:02


----- Original Message -----
From: "Bill Seymour" <bsey_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, May 09, 2001 2:07 PM
Subject: Re: [boost] Fixed-Point Decimal Type

> 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.)

I would recommend against making derived classes for currency.

--
Rainer Deyke (root_at_[hidden])
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor

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