Unit Conversion and Dimensional Analysis Library
2.3.0
A compile-time c++14 unit conversion library
|
unit_t scale for representing decibel values. More...
#include <units.h>
Public Member Functions | |
constexpr | decibel_scale (const decibel_scale &)=default |
decibel_scale & | operator= (const decibel_scale &)=default |
constexpr | decibel_scale (const T value) noexcept |
template<class... Args> | |
constexpr | decibel_scale (const T value, std::true_type, Args &&...) noexcept |
constexpr T | operator() () const noexcept |
Public Attributes | |
T | m_value |
linearized value | |
unit_t scale for representing decibel values.
internally stores linearized values. operator()
returns the value in dB.
T | underlying storage type |