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 to view this page for the latest version.
PrevUpHomeNext

Struct template plain_return_type_2<arithmetic_action< multiply_action >, X, boost::units::quantity< Unit, X >>

boost::lambda::plain_return_type_2<arithmetic_action< multiply_action >, X, boost::units::quantity< Unit, X >>

Synopsis

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

template<typename Unit, typename X> 
struct plain_return_type_2<arithmetic_action< multiply_action >, X, boost::units::quantity< Unit, X >> {
  // types
  typedef boost::units::multiply_typeof_helper< X, boost::units::quantity< Unit, X > >::type type;
};

Description

Partial specialization of return type trait for action X * quantity<Unit, X>.


PrevUpHomeNext