Opened 14 years ago
Closed 14 years ago
#2227 closed Patches (fixed)
[Units] Missing partial specializations of the Boost.Lambda return type traits for dimensionless quantities
Reported by: | Owned by: | Matthias Schabel | |
---|---|---|---|
Milestone: | Boost 1.37.0 | Component: | units |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | units, lambda | Cc: | watanabesj@…, boost@… |
Description
Hello,
I discovered some missing partial specializations of the Boost.Lambda return type traits for dimensionless quantities in the <boost/units/lambda.hpp> header, namely:
- quantity<dimensionless, X> + Y
- X + quantity<dimensionless, Y>
- quantity<dimensionless, X> - Y
- X - quantity<dimensionless, Y>
The attached patch adds the necessary specializations to the <boost/units/lambda.hpp> header and adds corresponding checks to <libs/units/test/test_lambda.cpp>.
Best regards,
Torsten Maehne
Attachments (1)
Change History (2)
by , 14 years ago
Attachment: | boost_units_lambda_dimensionless_quantity.patch added |
---|
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch for boost/units/lambda.hpp and libs/units/test/test_lambda.cpp