WPILibC++ 2023.4.3-108-ge5452e3
units::traits::is_ratio< T > Struct Template Reference

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

#include <units/base.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: