Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::units::power_typeof_helper< T, static_rational< N, D > > Struct Template Reference

raise T to a static_rational power. More...

#include <pow.hpp>

Public Types

typedef mpl::if_
< boost::is_integral< T >
, double, T >::type 
internal_type
 
typedef
detail::static_rational_power_impl
< static_rational< N, D >
, internal_type
impl
 
typedef impl::type type
 

Static Public Member Functions

static type value (const T &x)
 

Detailed Description

template<class T, long N, long D>
struct boost::units::power_typeof_helper< T, static_rational< N, D > >

raise T to a static_rational power.

Member Typedef Documentation

template<class T , long N, long D>
typedef detail::static_rational_power_impl<static_rational<N, D>, internal_type> boost::units::power_typeof_helper< T, static_rational< N, D > >::impl
template<class T , long N, long D>
typedef mpl::if_<boost::is_integral<T>, double, T>::type boost::units::power_typeof_helper< T, static_rational< N, D > >::internal_type
template<class T , long N, long D>
typedef impl::type boost::units::power_typeof_helper< T, static_rational< N, D > >::type

Member Function Documentation

template<class T , long N, long D>
static type boost::units::power_typeof_helper< T, static_rational< N, D > >::value ( const T x)
inlinestatic

The documentation for this struct was generated from the following file: