|
Boost : |
From: Thomas Matelich (toms-mailing-lists_at_[hidden])
Date: 2001-08-07 16:29:04
Michael Kenniston wrote:
> There is now a new version of the Quantity library in the boost Files
> section. The changes are:
>
> - removed extraneous semicolons
> - fixed typos in a couple constant values
> - incorporated Darin Adler's work-around for the "pascal
> keyword" problem
> - added a regression suite of 464 test cases which report and
> summarize their results intelligibly.
>
> This should fix the problems Metroworks was having with it, and
> also make it a lot easier to verify correctness under any compiler.
One of the features I'm looking for in a quantity/units library is less of a focus on
the math side of things and more of a localization, i.e. the customer gets to decide
what units to use. So, the feature that I would want would be the unit of measurement
being stored along with the quantity. I could, I suppose, translate all user
interaction through a localizer, but that introduces a lot of conversions. Why should
someone who wants to use feet be forced to convert to/from meters every time?
I guess I'm asking for more of the features of SIUnits while still maintaining the
portability.
-- Thomas O Matelich Senior Software Designer Zetec, Inc. matelich_at_[hidden] tmatelich_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk