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

Struct template subtract_typeof_helper<quantity< unit< Dim1, System1 >, X >, quantity< unit< Dim2, System2 >, Y >>
PrevUpHomeNext

Struct template subtract_typeof_helper<quantity< unit< Dim1, System1 >, X >, quantity< unit< Dim2, System2 >, Y >>

boost::units::subtract_typeof_helper<quantity< unit< Dim1, System1 >, X >, quantity< unit< Dim2, System2 >, Y >>

Synopsis

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

template<typename Dim1, typename System1, typename Dim2, typename System2, 
         typename X, typename Y> 
struct subtract_typeof_helper<quantity< unit< Dim1, System1 >, X >, quantity< unit< Dim2, System2 >, Y >> {

  // public member functions
  typedef typeof((typeof_::make< X >() -typeof_::make< Y >()));
};

Description

subtract_typeof_helper public member functions

  1. typedef typeof((typeof_::make< X >() -typeof_::make< Y >()));

PrevUpHomeNext