WPILibC++ 2024.1.1-beta-4
units::traits::is_unit_value_t_category< Category, T > Struct Template Reference

Trait which tests whether type T is a unit_value_t with a unit type in the given category. More...

#include <units/base.h>

Inheritance diagram for units::traits::is_unit_value_t_category< Category, T >:

Detailed Description

template<typename Category, typename T>
struct units::traits::is_unit_value_t_category< Category, T >

Trait which tests whether type T is a unit_value_t with a unit type in the given category.

e.g. is_unit_value_t_category<units::category::length, unit_value_t<feet>>::value would be true


The documentation for this struct was generated from the following file: