std::gslice_array<T>::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; |
Применяет соответствующую операцию к указанным элементам и элементам other.
Параметры
| other | - | массив аргументов для получения значений |
Возвращаемое значение
(нет)
Исключения
Может выбросить исключения, определённые реализацией.
Пример
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/numeric/valarray/gslice_array/operator_arith