Skip to content

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

NameDescription
::_base_type_

Type Aliases

Static Data Members

NameDescription
_standard_uncertainty_
_symbol_ Unique constant identifier

Template Parameters

NameDescription
Symbola short text representation of the constant
Unita unit that we use to define a constant
SUthe standard uncertainty of the measured value