Unit Conversion and Dimensional Analysis Library 3.6.1
A compile-time, header-only C++23 dimensional-analysis library
Loading...
Searching...
No Matches
units::traits::has_decibel_scale< T > Struct Template Reference

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

#include <core.h>

Inheritance diagram for units::traits::has_decibel_scale< T >:
[legend]
Collaboration diagram for units::traits::has_decibel_scale< T >:
[legend]

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_v<U1 [, U2, ...]> to test one or more types to see if they represent units whose scale is in decibels.

Template Parameters
Tone or more types to test.

The documentation for this struct was generated from the following file:
  • /home/runner/work/units/units/include/units/core.h