次の方法で共有


extent::operator 演算子

指定したインデックス位置にある要素を返します。

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

パラメーター

  • _Index
    0-1 ランクからの整数。

戻り値

この要素は、指定したインデックス位置に。

必要条件

ヘッダー: amp.h

名前空間: Concurrency

参照

関連項目

extent クラス (C++ AMP)