Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-04-03 15:56:08


Eric Lemings <lemings <at>> writes:

> All other dimensions, units, and systems of measurement should be
> treated as "localized" extensions that are built on top of this library.

The core library in boost/units/ doesn't know or care
about anything in boost/units/systems/.

> 3. Generally speaking, the vast majority of units are converted to one
> another by simply multiplying the quanity by a factor. The current
> proposal potentially requires a separate template specicialization for
> each of these conversions. This type of conversion should be
> generalized, if at all possible, into a single generic operation.

You only have to specify the conversion for the
base units. Thus to convert m^2 -> ft^2 you
only need to define the conversion from meters
to feet.

In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at