index::operator-- 运算符

递减索引对象中的每个元素。

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

index operator--(
   int
) restrict(amp,cpu);

返回值

针对前缀运算符,采用 index 对象 (*this)。 针对后缀运算符,采用新的 index 对象。

要求

**标头:**amp.h

命名空间: 并发

请参见

参考

index 类