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 to view this page for the latest version.
PrevUpHomeNext

Struct template power_typeof_helper

boost::units::power_typeof_helper

Synopsis

template<typename BaseType, typename Exponent> 
struct power_typeof_helper {
  // types
  typedef unspecified type;  // specifies the result type 

  // public static functions
  static type value(const BaseType &) ;
};

Description

A helper for computing the result of raising a runtime object to a compile time known exponent. This template is intended to be specialized. All specializations must conform to the interface shown here.

power_typeof_helper public static functions

  1. static type value(const BaseType & base) ;

PrevUpHomeNext