Share via


index::operator++ Operator

Increments each element of the index object.

index<_Rank>& operator++() restrict(amp,cpu);
                     
index<_Rank> 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