WPILibC++ 2024.3.2
units::traits::has_decibel_scale< T > Struct Template Reference

Trait which tests whether a type is inherited from a decibel scale. More...

#include <units/base.h>

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

Detailed Description

template<typename... T>
struct units::traits::has_decibel_scale< T >

Trait which tests whether a type is inherited from a decibel scale.

Inherits from std::true_type or std::false_type. Use has_decibel_scale<U1 [, U2, ...]>::value to test one or more types to see if they represent unit_t's whose scale is in decibels.

Template Parameters
Tone or more types to test.

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