units_traits_has_linear_scale(3)
| units::traits::has_linear_scale< T >(3) | Unit Conversion and Dimensional Analysis Library | units::traits::has_linear_scale< T >(3) |
NAME
units::traits::has_linear_scale< T > - Trait which tests whether a type is inherited from a linear scale.
SYNOPSIS
#include <units.h>
Inherits std::integral_constant< bool, units::all_true< std::is_base_of< units::linear_scale< units::traits::unit_t_traits< T >::underlying_type >, T >::value... >::value >.
Detailed Description
template<typename... T>
struct units::traits::has_linear_scale< T >"Trait which tests whether a type is inherited from a linear scale.
Inherits from std::true_type or std::false_type. Use has_linear_scale<U1 [, U2, ...]>::value to test one or more types to see if they represent unit_t's whose scale is linear.
Template Parameters
T one or more types to test.
Author
Generated automatically by Doxygen for Unit Conversion and Dimensional Analysis Library from the source code.
| Wed Mar 29 2023 | Version 2.3.0 |
