[gslice.array.comp.assign]

# 29 Numerics library [[numerics]](./#numerics)

## 29.6 Numeric arrays [[numarray]](numarray#gslice.array.comp.assign)

### 29.6.7 Class template gslice_array [[template.gslice.array]](template.gslice.array#gslice.array.comp.assign)

#### 29.6.7.3 Compound assignment [gslice.array.comp.assign]

[ð](#lib:operator*=,gslice_array)

`void operator*= (const valarray<T>&) const;
void operator/= (const valarray<T>&) const;
void operator%= (const valarray<T>&) const;
void operator+= (const valarray<T>&) const;
void operator-= (const valarray<T>&) const;
void operator^= (const valarray<T>&) const;
void operator&= (const valarray<T>&) const;
void operator|= (const valarray<T>&) const;
void operator<<=(const valarray<T>&) const;
void operator>>=(const valarray<T>&) const;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L8852)

These compound assignments have reference semantics, applying the
indicated operation to the elements of the argument array and selected
elements of thevalarray<T> object to which thegslice_array object refers[.](#1.sentence-1)
