Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template scale

boost::units::scale

Synopsis

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

template< Base, typename Exponent> 
struct scale {
  // types
  typedef Exponent ;  
  typedef double   ;

  // public static functions
  BOOST_CONSTEXPR  ();

  // public data members
  BOOST_STATIC_CONSTEXPR long base;
};

Description

class representing a scaling factor such as 10^3 The exponent must be a static rational.

scale public static functions

  1. BOOST_CONSTEXPR  ();

PrevUpHomeNext