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

Struct template derived_dimension

boost::units::derived_dimension — A utility class for defining composite dimensions with integer powers.

Synopsis

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

template<typename DT1 = dimensionless_type, long E1 = 0, 
         typename DT2 = dimensionless_type, long E2 = 0, 
         typename DT3 = dimensionless_type, long E3 = 0, 
         typename DT4 = dimensionless_type, long E4 = 0, 
         typename DT5 = dimensionless_type, long E5 = 0, 
         typename DT6 = dimensionless_type, long E6 = 0, 
         typename DT7 = dimensionless_type, long E7 = 0, 
         typename DT8 = dimensionless_type, long E8 = 0> 
struct derived_dimension {
  // types
  typedef unspecified type;
};

PrevUpHomeNext