SI
2.5.4
A header only c++ library that provides type safety and user defined literals for handling physical values defined in the International System of Units.
|
Go to the source code of this file.
Macros | |
#define | BUILD_UNIT_FROM_DIVISION(RESULTING_UNIT_T, DIVIDEND_UNIT_T, DIVISOR_UNIT_T) |
#define | BUILD_UNIT_FROM_MULTIPLICATION(RESULTING_UNIT, UNIT_LHS, UNIT_RHS) |
#define BUILD_UNIT_FROM_DIVISION | ( | RESULTING_UNIT_T, | |
DIVIDEND_UNIT_T, | |||
DIVISOR_UNIT_T | |||
) |
This file is part of "SI" version 2.5.4 A header only c++ library that provides type safety and user defined literals for handling physical values defined in the International System of Units
https://github.com/bernedom/SI
SPDX-License-Identifier: MIT Generate operators for unit conversions. Both macros generate the operators to create new units as well as the inverse operators
#define BUILD_UNIT_FROM_MULTIPLICATION | ( | RESULTING_UNIT, | |
UNIT_LHS, | |||
UNIT_RHS | |||
) |