...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::dimensionless_quantity — Utility class to simplify construction of dimensionless quantities.
// In header: <boost/units/dimensionless_quantity.hpp> template<typename System, typename Y> struct dimensionless_quantity { // types typedef quantity< typename dimensionless_unit< System >::type, Y > type; };