[ Web Proxy ]
URL:
Viewing: https://en.cppreference.com/cpp/numeric/valarray/gslice_array/operator_arith [Back]  [Original]

std::gslice_array<T>::operator+=,-=,*=,/=,%=,&=,|=,^=,<<=,>>= - cppreference.com
cppreference.com
Namespaces
Variants

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

From cppreference.com
 
 
 
 
 
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


Web Proxy Viewer  |  New URL  |  Original Page