Synopses

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

template<RepresentationOf<quantity_spec> ToRep>
requires detail::ValuePreservingConstruction<ToRep, rep>
[[nodiscard]]
constexpr
QuantityOf<quantity_spec> auto
in() const;
template</* implementation-defined */ ToU>
requires detail::ValuePreservingScaling<unit, ToU{}, rep>
[[nodiscard]]
constexpr
QuantityOf<quantity_spec> auto
in(ToU) const;
template<
    RepresentationOf<quantity_spec> ToRep,
    /* implementation-defined */ ToU>
requires detail::ValuePreservingConstruction<ToRep, rep> &&
             detail::ValuePreservingConversion<unit, rep, ToU{}, ToRep>
[[nodiscard]]
constexpr
QuantityOf<quantity_spec> auto
in(ToU) const;

Created with MrDocs