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

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

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

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

(none)

Example