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

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

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