WPILibC++ 2024.3.2
|
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. |