Unit Conversion and Dimensional Analysis Library  2.3.0
A compile-time c++14 unit conversion library
units::traits::is_ratio< T > Struct Template Reference

Trait that tests whether a type represents a std::ratio. More...

#include <units.h>

Inheritance diagram for units::traits::is_ratio< T >:

Detailed Description

template<class T>
struct units::traits::is_ratio< T >

Trait that tests whether a type represents a std::ratio.

Inherits from std::true_type or std::false_type. Use is_ratio<T>::value to test whether class T implements a std::ratio.


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