Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-03-28 14:03:01


AMDG

Eric Lemings <lemings <at> roguewave.com> writes:

> > Allowing conversion between units having different dimensions
> > and allowing fundamental units whose dimensions are not
> > fundamental e.g. quarts for volume is very very difficult to
> > implement. Off hand, I think that it requires defining some
> > special system (probably SI) and converting through that system.
>
> It's not that difficult

How would you do it? Using some special set
of units has problems with extensibility.
Suppose someone tried to add currency and used
US dollars as the base and at the same time
someone else used euros as the base.

In Christ,
Steven Watanabe


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