Partager via


index::operator-= Operator

Subtracts the specified number from each element of the index object.

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

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

Parameters

  • _Rhs
    The number to subtract.

Return Value

The index object.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

index Class