Unit Conversion and Dimensional Analysis Library  2.3.0
A compile-time c++14 unit conversion library
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.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: