Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | numeric‎ | valarray‎ | gslice array
 
 
 
 
std::gslice_array
Member functions
gslice_array::operator+=gslice_array::operator-=gslice_array::operator*=gslice_array::operator/=gslice_array::operator%=gslice_array::operator&=gslice_array::operator|=gslice_array::operator^=gslice_array::operator<<=gslice_array::operator>>=
 
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.

Contents

[edit] Parameters

other - argument array to retrieve the values from

[edit] Return value

(none)

[edit] Exceptions

May throw implementation-defined exceptions.

[edit] Example