Rebinds a quantity to a reference obtained by dividing its own reference by R

Synopsis

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

template<
    typename FwdQ,
    Reference R,
    Quantity Q = std::remove_cvref_t<FwdQ>>
[[nodiscard]]
constexpr
Quantity auto
operator/(
    FwdQ&& q,
    R r);

Return Value

quantity holding the same numerical value as q, with reference Q::reference / R{}

Note

The return value should not be discarded.

Parameters

Name

Description

q

quantity being rebound

r

reference to divide the quantity's reference by

Created with MrDocs