Share via


extent::operator+ Operator

Returns a new extent object created by adding the corresponding index and extent elements.

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

Parameters

  • _Rhs
    The index object that contains the elements to add.

Return Value

The new extent object.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

extent Class (C++ AMP)