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

From cppreference.com

 
 
 
 
std::indirect_array
Member functions
indirect_array::operator+=indirect_array::operator-=indirect_array::operator*=indirect_array::operator/=indirect_array::operator%=indirect_array::operator&=indirect_array::operator|=indirect_array::operator^=indirect_array::operator<<=indirect_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.

Contents

[edit] Parameters

other - argument array to retrieve the values from

[edit] Return value

(none)

[edit] Exceptions

(none)

[edit] Example