std::mask_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/cpp/numeric/valarray/mask_array/operator_arith