Subtraction assignment operator

Synopsis

Declared in <mp‐units/cartesian_vector.h>

template<typename U>
requires requires(T t, U u) {
      { t ‐= u } ‐> std::same_as<T&>;
    }
constexpr
cartesian_vector&
operator‐=(cartesian_vector<U> const& other);

Return Value

Reference to the current object

Parameters

Name

Description

other

The right operand

Created with MrDocs