|
Boost : |
From: Paul A. Bristow (boost_at_[hidden])
Date: 2003-10-20 13:30:10
| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]]On Behalf Of Andy Little
| Sent: Saturday, October 18, 2003 12:13 PM
| To: boost_at_[hidden]
| Subject: [boost] Re: Re: Physical Quantities revisited
|
| There may be good reasons but it would be interesting to clarify what they
| are ?
I have only expressed a view on one fundamental premise - that all values are
held internally as SI units - but I may be wrong in this view.
| My code makes a reasonable go at this.
Yes it certainly does - but I note that Boosters have been seeking a 'perfect'
solution to the 'units and dimensions (and indeed constants)' needs for some
years now. Previously they have been thwarted by compiler deficiencies, for a
useful _library_ solution must work with most of the C++ compilers. Compilers
have improved which is why the topics have been re-opened recently.
Your code provides another interesting view of how to do it and I leave it to
others to comment further on it.
Paul
Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK
+44 1539 561830 Mobile +44 7714 33 02 04
mailto:pbristow_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk