Synopsis

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

template<
    UnitOf<quantity_spec> ToU,
    RoundingPolicy Policy>
requires detail::ExplicitlyCastable<unit, ToU{}, rep> && detail::ValidRoundingPolicyFor<Policy, rep, rep>
[[nodiscard]]
constexpr
QuantityPointOf<quantity_spec> auto
in(
    ToU,
    Policy policy) const;

Return Value

Note

The return value should not be discarded.

Created with MrDocs