Deleted overload that prevents forming a reference into a temporary quantity.

Synopsis

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

template<Unit U>
requires (equivalent(U{}, unit))
constexpr
rep const&&
numerical_value_ref_in(U u) const && noexcept = delete;

Return Value

The type used to represent the numerical value of the quantity.

Parameters

Name

Description

u

a unit equivalent to unit

Created with MrDocs