Skip to content

mp_units::PointOriginFor

A concept matching all quantity point origins for a specified quantity type in the library

Synopsis

Declared in <mp-units/framework/quantity_point_concepts.h>

template<typename T, auto QS>
concept PointOriginFor = PointOrigin<T> && QuantitySpecOf<MP_UNITS_NTTP_TYPE(QS), T::_quantity_spec_>;

Description

Satisfied by all quantity point origins that are defined using a provided quantity specification.