WPILibC++ 2023.4.3-108-ge5452e3
units::traits::is_same_scale< T1, T2 > Struct Template Reference

Trait which tests whether two types has the same non-linear scale. More...

#include <units/base.h>

Inheritance diagram for units::traits::is_same_scale< T1, T2 >:

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
T1left hand type.
T2right hand type

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