| Home | Libraries | People | FAQ | More

## Struct template plain_return_type_2<arithmetic_action< plus_action >, boost::units::quantity< Unit1, X >, boost::units::quantity< Unit2, Y >>

boost::lambda::plain_return_type_2<arithmetic_action< plus_action >, boost::units::quantity< Unit1, X >, boost::units::quantity< Unit2, Y >>

## Synopsis

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

    template<typename Unit1, typename X, typename Unit2, typename Y>
    struct plain_return_type_2<arithmetic_action< plus_action >, boost::units::quantity< Unit1, X >, boost::units::quantity< Unit2, Y >> {
      // types
      typedef boost::units::add_typeof_helper< boost::units::quantity< Unit1, X >, boost::units::quantity< Unit2, Y > >::type type;
    };

## Description

Partial specialization of return type trait for action quantity<Unit1, X> + quantity<Unit2, Y>.