...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::static_abs — Compile time absolute value.
template<integer_type Value> struct static_abs { // public member functions BOOST_STATIC_CONSTANT(integer_type, value) ; };