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

Struct template get_dimension<quantity< Unit, Y >>

boost::units::get_dimension<quantity< Unit, Y >> — get the dimension of a quantity

Synopsis

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

template<typename Unit, typename Y> 
struct get_dimension<quantity< Unit, Y >> {
  // types
  typedef get_dimension< Unit >::type type;
};

PrevUpHomeNext