units_traits_is_unit_value_t_category(3)
| units::traits::is_unit_value_t_category< Category, T >(3) | Unit Conversion and Dimensional Analysis Library | units::traits::is_unit_value_t_category< Category, T >(3) |
NAME
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.
SYNOPSIS
#include <units.h>
Inherits std::integral_constant< bool, std::is_same< units::traits::base_unit_of< traits::unit_value_t_traits< T >::unit_type >, Category >::value >.
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
Author
Generated automatically by Doxygen for Unit Conversion and Dimensional Analysis Library from the source code.
| Wed Feb 11 2026 09:38:34 | Version 2.3.0 |
