다음을 통해 공유


extent::operator Operator

Returns the element that's at the specified index.

int operator[] (
   unsigned int _Index
) const restrict(amp,cpu);

int& operator[] (
   unsigned int _Index
) restrict(amp,cpu);

Parameters

  • _Index
    An integer from 0 through the rank minus 1.

Return Value

The element that's at the specified index.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

extent Class (C++ AMP)