Returns a const reference to the numerical value, in a unit equivalent to unit.
Declared in <mp-units/framework/quantity.h>
template<Unit U>
requires (equivalent(U{}, unit))
[[nodiscard]]
constexpr
rep const&
numerical_value_ref_in(U u) const & noexcept;
A const reference to the stored numerical value.
The return value should not be discarded.
| Name | Description |
|---|---|
| u | a unit equivalent to unit |