共用方式為


index::operator-- Operator

Decrements each element of the index object.

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

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

Return Value

For the prefix operator, the index object (*this). For the suffix operator, a new index object.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

index Class