class CVector { ... inline operator +=(const CVector &rhs) { v[0] += rhs.v[0]; v[1] += rhs.v[1]; v[2] += rhs.v[2]; } ... }