mp_units::quantity::operator++

Pre-increments the numerical value.

Synopsis

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

constexpr
quantity&
operator++() &
requires requires(rep& v) {
      { ++v } -> std::same_as<rep&>;
    };

Return Value

*this, after the increment.