extent::operator+= Operator

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

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

Parameters

  • _Rhs
    The number to add.

Return Value

The resulting extent object.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

extent Class (C++ AMP)