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

来自cppreference.com
 
 
数值库
常用数学函数
特殊数学函数 (C++17)
浮点环境 (C++11)
复数
数值数组
伪随机数生成
编译时有理数算术 (C++11)
数值算法
(C++17)
(C++17)
插值
(C++20)
(C++20)
通用数值运算
(C++11)
位操作
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
 
 
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+=( 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 - 作为获取值来源的参数数组

[编辑] 返回值

(无)

[编辑] 异常

(无)

[编辑] 示例