Spec-Zone.ru › C++

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API