std::indirect_array<T>::operator+=,-=,*=,/=,%=,&=,|=,^=,<<=,>>=
来自 cppreference.cn
< cpp | 数值 | valarray | indirect_array
| 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` 的元素。
目录 |
[编辑] 参数
| 其他 | - | 用于获取值的参数数组 |
[编辑] 返回值
(无)
[编辑] 异常
可能抛出实现定义的异常。
[编辑] 示例
| 本节不完整 原因:无示例 |