mp_units::quantity::operator/=

Division assignment operator

Synopsis

Declared in <mp-units/framework/quantity.h>
template</* implementation-defined */ Q2>
requires detail::ScalarValuePreservingTo<typename Q2::rep, rep> && requires(rep& a, const Q2::rep b) {
      { a /= b } -> std::same_as<rep&>;
    }
constexpr
quantity&
operator/=(Q2 const& rhs) &;


Return Value

Reference to the current object

Parameters

Name Description
rhs The right operand

Created with MrDocs