mp_units::absolute

Constructs a quantity_point of reference R from a raw representation value

Synopsis

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

template<Reference auto R>
[[nodiscard]]
constexpr
quantity_point<R{}, default_point_origin(R{}), Rep>
absolute(FwdRep&& lhs);

NOTE

This function is defined as an Algorithm Function Object (AFO).

Return Value

A quantity_point of reference R, relative to the default point origin, holding lhs

NOTE

The return value should not be discarded.

Parameters

NameDescription
lhsThe raw representation value to wrap in a quantity_point