Boost C++ Libraries: Ticket #2227: [Units] Missing partial specializations of the Boost.Lambda return type traits for dimensionless quantities https://svn.boost.org/trac10/ticket/2227 <p> Hello, </p> <p> I discovered some missing partial specializations of the Boost.Lambda return type traits for dimensionless quantities in the &lt;boost/units/lambda.hpp&gt; header, namely: </p> <ul><li>quantity&lt;dimensionless, X&gt; + Y </li></ul><ul><li>X + quantity&lt;dimensionless, Y&gt; </li></ul><ul><li>quantity&lt;dimensionless, X&gt; - Y </li></ul><ul><li>X - quantity&lt;dimensionless, Y&gt; </li></ul><p> The attached patch adds the necessary specializations to the &lt;boost/units/lambda.hpp&gt; header and adds corresponding checks to &lt;libs/units/test/test_lambda.cpp&gt;. </p> <p> Best regards, </p> <p> Torsten Maehne </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2227 Trac 1.4.3 Torsten Maehne <Torsten.Maehne@…> Tue, 19 Aug 2008 14:28:24 GMT attachment set https://svn.boost.org/trac10/ticket/2227 https://svn.boost.org/trac10/ticket/2227 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_units_lambda_dimensionless_quantity.patch</span> </li> </ul> <p> Patch for boost/units/lambda.hpp and libs/units/test/test_lambda.cpp </p> Ticket Matthias Schabel Tue, 19 Aug 2008 18:48:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2227#comment:1 https://svn.boost.org/trac10/ticket/2227#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket