index::operator-= 运算符

从每个元素的指定的数量中减去索引对象。

index<_Rank>& operator-=(
   const index<_Rank>& _Rhs
                    
) restrict(amp,cpu);

                    
index<_Rank>& operator-=(
   int _Rhs
                    
) restrict(amp,cpu);

参数

  • _Rhs
    要减去的数字。

返回值

index 对象。

要求

标题: amp.h

命名空间: 并发

请参见

参考

index 类