WPILibC++ 2023.4.3
|
Trait which tests whether a type is a unit_value_t representing the given unit type. More...
#include <units/base.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. |