template struct Poco::Util::Units::Internal::FixedPower
Overview
A functor that raises a Value to the power Num/Den. More…
#include <Units.h> template < int Num, int Den, int Div, int Mod > struct FixedPower { // methods template <typename T> static T Power(const T& t); };
Detailed Documentation
A functor that raises a Value to the power Num/Den.
The template is specialised for efficiency so that we don’t always have to call the std::power function.