|
Boost : |
From: Matthias Schabel (boost_at_[hidden])
Date: 2007-02-12 16:29:18
> Not necessarily. static_multiply has to be
> able to operate on an mpl::list.
Exactly...
>> There is also a
>> lack of meta functions to identify units and quantities as types
>> (only
>> dimensions have this functionality) for use in such things as
>> enable_if
>> and other meta programming utilities.
>
> Good point.
I've added
is_dimension<D>
is_unit<U>
is_unit_of_system<U,S>
is_quantity<Q>
is_quantity_of_system<Q,S>
for the next version. I should probably also allow querying the
existence
of an explicit conversion...although I suspect is_convertible already
does
that...
Matthias
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk