Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2016. The current version is 1.89.0.
boost::units::static_abs — Compile time absolute value.
// In header: <boost/units/static_rational.hpp> template<integer_type Value> struct static_abs { // public member functions BOOST_STATIC_CONSTANT(integer_type); };