Boost logo

Boost :

From: Deane Yang (deane_yang_at_[hidden])
Date: 2006-08-27 21:56:17


Ben Strasser wrote:
> Why do you want to provide plenty of premade units? I though a unit library was
> supposed to allow the user to construct units in a simple way. It seems very
> verbose to me to add a new unit.

There are two distinct visions of what a units/dimensions library should
be. So far, those who are willing to put the work into submitting a
library into boost fall into the prebuilty SI units camp.

>
> I think that that what users want is an easy way to define and use their units,
> not those avaiable in a huge library. So a unit library must in my eyes be very
> extensible. It must also avoid tying people to any unit system as it depends on
> the situation which system or sub system is best.

This is what a few of us also want.
>
> Some time ago I also wrote a unit library. It uses an in my eyes very different
> way to approach the problem so it might be interesting to post the code
> somewhere. I could upload the code to boost vault so people could comment on its
> design. Where should I put it so that people don't confuse both libraies.
>

Please do.

Deane


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