Share via


extent::operator+ Operator

 

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

Syntax

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

extent Class (C++ AMP)