共用方式為


extent::operator-- Operator

Decrements each element in the extent object.

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

extent<_Rank> operator--(
   int
) restrict(amp,cpu);

Return Value

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

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

extent Class (C++ AMP)