units_traits_is_ratio(3)

units::traits::is_ratio< T >(3) Unit Conversion and Dimensional Analysis Library units::traits::is_ratio< T >(3)

NAME

units::traits::is_ratio< T > - Trait that tests whether a type represents a std::ratio.

SYNOPSIS

#include <units.h>

Inherits std::integral_constant< bool, has_num< T >::value &&has_den< T >::value >.

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.

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