units_traits_has_decibel_scale(3)

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

NAME

units::traits::has_decibel_scale< T > - Trait which tests whether a type is inherited from a decibel scale.

SYNOPSIS

#include <units.h>

Inherits std::integral_constant< bool, units::all_true< std::is_base_of< units::decibel_scale< units::traits::unit_t_traits< T >::underlying_type >, T >::value... >::value >.

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

T one or more types to test.

Author

Generated automatically by Doxygen for Unit Conversion and Dimensional Analysis Library from the source code.

Wed Mar 29 2023 Version 2.3.0