Synopses

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

template<RepresentationOf<quantity_spec> ToRep>
requires std::constructible_from<ToRep, rep>
[[deprecated("2.6.0: use `in<Rep>(policy)` with a rounding policy (e.g. `truncated`) instead"), nodiscard]]
constexpr
QuantityPointOf<quantity_spec> auto
force_in() const;
template<UnitOf<quantity_spec> ToU>
requires detail::ExplicitlyCastable<unit, ToU{}, rep>
[[deprecated("2.6.0: use `in(unit, policy)` with a rounding policy (e.g. `truncated`) instead"), nodiscard]]
constexpr
QuantityPointOf<quantity_spec> auto
force_in(ToU) const;
template<
    RepresentationOf<quantity_spec> ToRep,
    UnitOf<quantity_spec> ToU>
requires std::constructible_from<ToRep, rep> && detail::ExplicitlyCastable<unit, ToU{}, rep>
[[deprecated("2.6.0: use `in<Rep>(unit, policy)` with a rounding policy (e.g. `truncated`) instead"), nodiscard]]
constexpr
QuantityPointOf<quantity_spec> auto
force_in(ToU) const;

Created with MrDocs