std::indirect_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/indirect_array/operator_arith