Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the element that is at the specified index.
value_type& operator[] (
const index<_Rank>& _Index
) restrict(amp,cpu);
const value_type& operator[] (
const index<_Rank>& _Index
) const restrict(amp,cpu);
auto operator[](
int _I
) restrict(amp,cpu) -> decltype(details::_Array_projection_helper<_Value_type,_Rank>::_Project0((array<_Value_type,_Rank> *)NULL,_I));
auto operator[](
int _I
) const restrict(amp,cpu) -> decltype(details::_Array_projection_helper<_Value_type,_Rank>::_Project0((const array<_Value_type,_Rank> *)NULL,_I));
Parameters
_Index
The index._I
The index.
Return Value
The element that is at the specified index.
Requirements
Header: amp.h
Namespace: Concurrency