mp_units::named_constant<Symbol, U, SU>¶
Specialization for a measured constant declaring its absolute standard uncertainty
Synopsis¶
Declared in <mp-units/framework/unit_definitions.h>
template<symbol_text Symbol, Unit auto U, typename SUU, standard_uncertainty<SUU> SU>
requires(!Symbol.empty()) && detail::is_positive_canonical_unit_mag<SUU{}> && detail::ConvertibleUnits<SUU{}, U>
struct named_constant<Symbol, U, SU> : ::_base_type_
Description¶
The same as the above but stores the standard uncertainty in the form the source metrology table publishes it: an absolute value in a unit of the constant's own dimension. The relative form derives on demand as an exact ratio of canonical magnitudes.
Base Classes¶
| Name | Description |
|---|---|
::_base_type_ |
Template Parameters¶
| Name | Description |
|---|---|
| Symbol | a short text representation of the constant |
| Unit | a unit that we use to define a constant |
| SU | the standard uncertainty of the measured value |