Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

array_view::operator[] Operator

Returns the element that is specified by the parameters.

typename details::_Projection_result_type<_Value_type,_Rank>::_Const_result_type operator[] (
   int _I
) const restrict(amp,cpu);

value_type& operator[] (
   const index<_Rank>& _Index
) const restrict(amp,cpu);


The index.


The index.

The value of the element at the index, or an array_view projected on the most-significant dimension.

Header: amp.h

Namespace: Concurrency

© 2015 Microsoft