mp_units::named_constant<Symbol, U, RSU>¶
Specialization for a measured constant declaring its relative standard uncertainty
Synopsis¶
Declared in <mp-units/framework/unit_definitions.h>
template<symbol_text Symbol, Unit auto U, typename M, relative_standard_uncertainty<M> RSU>
requires(!Symbol.empty()) && detail::magnitude_is_positive<M{}>
struct named_constant<Symbol, U, RSU> : ::_base_type_
Description¶
The same as the above but additionally stores the relative standard uncertainty of a constant that is measured rather than exact by definition. The value transcribes the entry published in the source metrology table (e.g., CODATA).
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 |
| RSU | the relative standard uncertainty of the measured value |