|
Boost : |
From: Matthias Schabel (boost_at_[hidden])
Date: 2006-09-13 15:48:50
Deane, Paul, and any others who have had the time to play with the
mcs::units code/documentation -
In the hopes of getting some traction on a discussion of requirements
for a boostified dimensional analysis/units library, do you have any
comments on the interface/design/implementation/functionality. What
features are missing that would be desirable? Are there other issues
that should be addressed in the library. Is it worth expending the
effort to prepare it for Boost review? Is the documentation adequate?
What else would need to be done to get the library Boost ready (other
then license changes)?
Any input would be welcome.
Matthias
>>> That is, for some arbitrary value types X
>>> and Y for which (warning pseudocode ahead)
>>>
>>> Z operator+(X x,Y y)
>>>
>>> is defined
>>>
>>> quantity<Z> operator+(quantity<X> x,quantity<Y> y)
>>>
>>> will work and behave as expected...
>>
>> I need this feature!
>
> If you want to be at the bleeding edge, you can give it a try. I've
> uploaded this code as Vault/Units/mcs_units_hetero_op.zip. I think it
> should work on non-g++ compilers (but _without_ heterogenous operator
> functionality), but no guarantees. Everything except power<N> and
> root<N> seems to work for me. Try unit_example_6.cpp to get a feel
> for it...
>
> Cheers,
>
> Matthias
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/
> listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk