# std::mask_array<T>::operator+=,-=,*=,/=,%=,&=,|=,^=,<<=,>>=

From cppreference.com
< cpp‎ | numeric‎ | valarray‎ | mask array

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

Applies the corresponding operation to the referred elements and the elements of `other`.

### Parameters

other | - | argument array to retrieve the values from

### Return value

(none)

### Exceptions

May throw implementation-defined exceptions.

### Example

| This section is incomplete Reason: no example

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/numeric/valarray/mask_array/operator_arith&oldid=120729"