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

来自cppreference.com
 
 
 
 
std::indirect_array
成员函数
indirect_array::operator+=indirect_array::operator-=indirect_array::operator*=indirect_array::operator/=indirect_array::operator%=indirect_array::operator&=indirect_array::operator|=indirect_array::operator^=indirect_array::operator<<=indirect_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