array::operator[] 演算子
指定したインデックス位置にある要素を返します。
value_type& operator[] (
const index<_Rank>& _Index
) restrict(amp,cpu);
const value_type& operator[] (
const index<_Rank>& _Index
) const restrict(amp,cpu);
typename details::_Projection_result_type<_Value_type,_Rank>::_Result_type operator[](
int _I
) restrict(amp,cpu);
typename details::_Projection_result_type<_Value_type,_Rank>::_Const_result_type operator[](
int _I
) const restrict(amp,cpu);
パラメーター
_Index
インデックス。_I
インデックス。
戻り値
指定したインデックス位置にある要素。
必要条件
ヘッダー: amp.h
名前空間: Concurrency