Returns this quantity re‐expressed in another unit, implicitly convertible to rep.
Synopsis
Declared in <mp‐units/framework/quantity.h>
template<UnitOf<quantity_spec> ToU>
requires detail::ImplicitScaling<unit, ToU{}, rep>
[[nodiscard]]
constexpr
QuantityOf<quantity_spec> auto
in(ToU to_u) const;
Return Value
The equivalent quantity expressed in to_u.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
to_u |
the target unit |
Created with MrDocs