Constructs a quantity of reference R from a raw representation value

Synopsis

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

template<Reference auto R>
[[nodiscard]]
constexpr
quantity<R{}, Rep>
delta(FwdRep&& lhs);
Note

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

Return Value

A quantity of reference R holding lhs

Note

The return value should not be discarded.

Parameters

Name

Description

lhs

The raw representation value to wrap in a quantity

Created with MrDocs