Unit Conversion and Dimensional Analysis Library
2.3.0
A compile-time c++14 unit conversion library
|
Trait which tests whether a type is a unit_value_t representing the given unit type. More...
#include <units.h>
Trait which tests whether a type is a unit_value_t representing the given unit type.
e.g. is_unit_value_t<meters, myType>::value
would test that myType
is a unit_value_t<meters>
.
Units | units that the unit_value_t is supposed to have. |
T | type to test. |