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 | 索引的类型(假定为整数)。 |
| 参数 | 类型 | 描述 |
|---|---|---|
| idx | IdxType | 数组中的索引。 |
ReturnValue
Array value at idx position.
另见
- Typedef SmartPtr_
- Class SmartPtr
- Namespace System
- Library Aspose.Font for C++