|
electro 0.3.0
Type-safe electrical units library modeled after std::chrono
|
Decibels opt out of the generic SI-prefix suffix machinery. More...
#include <electro/decibel.hpp>
Decibels opt out of the generic SI-prefix suffix machinery.
A gain's precision is rendered as decimal places, not as an SI prefix: "10.50dB", never "1050cdB". Leaving this specialization empty makes the generic quantity to_string and formatter unusable for decibel_unit, so the decibel-specific overloads below are the only candidates rather than merely the better-matching ones.
Definition at line 601 of file decibel.hpp.