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

来自cppreference.com
< cpp‎ | numeric‎ | valarray‎ | mask array
 
 
 
 
std::mask_array
成员函数
mask_array::operator+=mask_array::operator-=mask_array::operator*=mask_array::operator/=mask_array::operator%=mask_array::operator&=mask_array::operator|=mask_array::operator^=mask_array::operator<<=mask_array::operator>>=
 
void operator+=(conststd::valarray<T>& other )const;
void operator-=(conststd::valarray<T>& other )const;
void operator*=(conststd::valarray<T>& other )const;
void operator/=(conststd::valarray<T>& other )const;
void operator%=(conststd::valarray<T>& other )const;
void operator&=(conststd::valarray<T>& other )const;
void operator|=(conststd::valarray<T>& other )const;
void operator^=(conststd::valarray<T>& other )const;
void operator<<=(conststd::valarray<T>& other )const;
void operator>>=(conststd::valarray<T>& other )const;

向所引用元素和 other 的元素应用相应的运算。

目录

[编辑]参数

other - 作为获取值来源的实参数组

[编辑]返回值

(无)

[编辑]异常

可能会抛出由实现定义的异常。

[编辑]示例

close