...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::pow — raise a value to a static_rational
power
// In header: <boost/units/pow.hpp> template<typename Rat, typename Y> power_typeof_helper< Y, Rat >::type pow(const Y & x);