units_traits_is_same_scale(3)
| units::traits::is_same_scale< T1, T2 >(3) | Unit Conversion and Dimensional Analysis Library | units::traits::is_same_scale< T1, T2 >(3) |
NAME
units::traits::is_same_scale< T1, T2 > - Trait which tests whether two types has the same non-linear scale.
SYNOPSIS
#include <units.h>
Inherits std::integral_constant< bool, std::is_same< units::traits::unit_t_traits< T1 >::non_linear_scale_type, units::traits::unit_t_traits< T2 >::non_linear_scale_type >::value >.
Detailed Description
template<typename T1, typename T2>
struct units::traits::is_same_scale< T1, T2 >"Trait which tests whether two types has the same non-linear scale.
Inherits from std::true_type or std::false_type. Use is_same_scale<U1 , U2>::value to test whether two types have the same non-linear scale.
Template Parameters
T1 left hand type.
T2 right hand type
T2 right hand type
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 |
