...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
1.0.0 (August 1, 2008) :
0.7.1 (March 14, 2007) :
0.7.0 (March 13, 2007) :
boost/units/operators.hpp
now uses BOOST_TYPEOF
when
possible
boost/units/systems/trig.hpp
- implicit conversion of radians between trigonometric, SI, and CGS systems
allowed
unit
and quantity
tests added
0.6.2 (February 22, 2007) :
unit
so dimension precedes unit system
homogeneous_system<S>
for unit systems
boost/units/dimension.hpp
(compile-time sorting by predicate), boost/units/conversion.hpp
(thread-safe implementation of quantity conversions), and boost/units/io.hpp
(now works with any std::basic_ostream
) by SW
boost/units/systems/abstract.hpp
to allow abstract dimensional analysis
0.6.1 (February 13, 2007) :
is_dimension_list<D>
)
is_unit<T>
and is_unit_of_system<U,System>
)
is_quantity<T>
and is_quantity_of_system<Q,System>
)
0.6.0 (February 8, 2007) :
0.5.8 (February 7, 2007) :
#include
in boost/units/systems/si/base.hpp
(thanks to Michael Fawcett and Steven Watanabe)
base_type
in __unit_info (thanks to Michael Fawcett)
boost/units/cmath.hpp
into boost::units
namespace (thanks to Steven Watanabe)
#include
guards to
be consistently named BOOST_UNITS_XXX
(thanks to Steven Watanabe)
0.5.7 (February 5, 2007) :
0.5.6 (January 22, 2007) :
scale
and scaled_value
classes (thanks to Kevin Lynch)
fundamental_dimension
and composite_dimension
respectively)
0.5.5 (January 18, 2007) :
quantity
switched and default value_type
of double
added (thanks to Andrey
Semashev and Paul Bristow)
value_type
conversion where allowed (thanks to Andrey Semashev)
quantity_cast
for three
cases (thanks to Andrey Semashev):
quantity
from raw value_type
value_type
to another
unit
to another (where conversion is allowed)
metre
and metres
and related constants to the SI
system for the convenience of our Commonwealth friends...
0.5.4 (January 12, 2007) :
from_value
0.5.3 (December 12, 2006) :
unit
and quantity
classes
MCS_STRICT_QUANTITY_CONSTRUCTION
switch
0.5.2 (December 4, 2006) :
<cmath>
wrappers in the std
namespace for functions that can support quantities
0.5.1 (November 3, 2006) :
0.5 (November 2, 2006) :
pow
and root
so for most applications
it is only necessary to define power_typeof_helper
and root_typeof_helper
to
gain this functionality
complex
class that correctly supports both complex<quantity<Y,Unit> >
and quantity<complex<Y>,Unit>
as an example
typeof
0.4 (October 13, 2006) :
pow<R>
and
root<R>
improved
for user-defined types
boost::math::quaternion
BOOST_UNITS_ENABLE_IMPLICIT_UNIT_CONVERSIONS
)
0.3 (September 6, 2006) :
op(X x,Y y)
for g++ added. This is automatically active
when compiling with gcc and can be optionally enabled by defining the preprocessor
constant BOOST_UNITS_HAS_TYPEOF
0.2 (September 4, 2006) : Second alpha release based on slightly modified code from 0.1 release
0.1 (December 13, 2003) : written as a Boost demonstration of MPL-based dimensional analysis in 2003.