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 the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template pow

boost::units::pow — raise a value to a static_rational power.

Synopsis

// In header: <boost/units/pow.hpp>


template<typename Rat, typename Y> 
  power_typeof_helper< Y, Rat >::type pow(const Y & x);

Description

raise a value to an integer power.


PrevUpHomeNext