|
Unit Conversion and Dimensional Analysis Library
2.3.0
A compile-time c++14 unit conversion library
|
adds two unit_value_t types at compile-time More...
#include <units.h>
Static Public Member Functions | |
| static constexpr const unit_t< unit_type > | value () noexcept |
| Value of sum. More... | |
adds two unit_value_t types at compile-time
The resulting unit will the the unit_type of U1
| U1 | left-hand unit_value_t |
| U2 | right-hand unit_value_t |
std::ratio_add
|
inlinestaticconstexprnoexcept |
Value of sum.
Returns the calculated value of the sum of U1 and U2, in the same units as U1.
1.8.17