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);
Parameters
- _Rhs
The number to add.
Return Value
The index object.
Requirements
Header: amp.h
Namespace: Concurrency