Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2002-09-04 07:53:12


> Not with MSVC v5. I had to get rid of all the i18n stuff
> to get any output; and I wouldn't want to do that for
> the final version. Also, I hadn't tested completely
> enough to have instantiated all the member templates.

V5 compatibility will be tough....
 
> Stephen Nutt (IIRC):
> >
> > It is not clear to me why [having the scale as part of the
> > type] would have added lots of member functions.
> >
>
> There would be member function templates for construction,
> assignment and the usual op= operators taking decimals of
> other scales as arguments; then specializations for
> efficiency when the scale is known to be the same.

How about requiring an explicit cast instead?

> Jeff Garland:
> >
> > ... for the most part I'm not to worried about
> > interoperation of decimals with different scales.
> >
>
> Interest rates and currency.

I guess I would be tempted to use a double for the
interest rate, but I see your point.

Jeff


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