index::operator+= Operator

Adds the specified number to each element of the index object.

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

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

_Rhs

The number to add.

The index object.

Header: amp.h

Namespace: Concurrency

Show: