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.

另见