Returns this quantity re-expressed with another representation type, in the same unit.
Declared in <mp-units/framework/quantity.h>
template<RepresentationOf<quantity_spec> ToRep>
requires detail::RepConstructibleFrom<ToRep, rep>
[[nodiscard]]
constexpr
QuantityOf<quantity_spec> auto
in() const;
The equivalent quantity with representation type ToRep.
The return value should not be discarded.