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 add_typeof_helper<quantity< unit< Dim, System >, X >, quantity< unit< Dim, System >, Y >>

boost::units::add_typeof_helper<quantity< unit< Dim, System >, X >, quantity< unit< Dim, System >, Y >>

Synopsis

template<typename Dim, typename System, typename X, typename Y> 
struct add_typeof_helper<quantity< unit< Dim, System >, X >, quantity< unit< Dim, System >, Y >> {
  // types
  typedef add_typeof_helper< X, Y >::type   value_type;
  typedef unit< Dim, System >               unit_type; 
  typedef quantity< unit_type, value_type > type;      
};

PrevUpHomeNext