System::SmartPtr::operator[] メソッド

SmartPtr::operator[] method

配列要素へのアクセサ。SmartPtr_System::Array の特殊化である場合のみコンパイルされます。

template<typename IdxType> decltype(System::Details::GetByIndex(std::declval<const SmartPtr_ *>(), std::declval<IdxType>())) System::SmartPtr<T>::operator[](IdxType idx) const
パラメーター説明
IdxTypeインデックスの型(整数と想定)。
パラメーター説明
idxIdxType配列内のインデックス。

ReturnValue

Array value at idx position.

参照