...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::units::heterogeneous_system
// In header: <boost/units/scaled_base_unit.hpp> template<typename T> struct heterogeneous_system : public T { };
A system that can represent any possible combination of units at the expense of not preserving information about how it was created. Do not create specializations of this template directly. Instead use reduce_unit
and base_unit<...>::unit_type
.