Compound assignment operators (+=, -=, * =, /=)ΒΆ

Synopsis

template<typename RHS> THIS_TYPE & operator += (const RHS & X);
template<typename RHS> THIS_TYPE & operator -= (const RHS & X);
template<typename RHS> THIS_TYPE & operator *= (const Scalar & S);
template<typename RHS> THIS_TYPE & operator /= (const Scalar & S);

The containers and the view have compound operators.

NB: These operators make no sense for const views, and result in a compile error.