Boost logo

Boost :

From: Matthias Schabel (boost_at_[hidden])
Date: 2007-01-18 16:49:12


I've just posted mcs::units v0.5.5 - changes include

1) inverted quantity template parameter order and double precision
default value_type, allowing this syntax:

quantity<SI::length> q1(1.0*SI::metre); // added metre, etc... for
our Commonwealth friends

2) implemented implicit value_type conversion (for value_types that
are themselves implicitly convertible)

3) implemented quantity_cast for three cases (see unit_example_5.cpp) :
        a) construction of quantities from raw value types
        b) conversion of value_types
        c) conversion of unit systems

I hope to have an example of absolute_measure/difference_measure soon...

Matthias


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