System::SmartPtr::operator[] method
SmartPtr::operator[] method
Accessor for array elements. Only compiles if SmartPtr_ is specialization of System::Array.
template<typename IdxType> decltype(System::Details::GetByIndex(std::declval<const SmartPtr_ *>(), std::declval<IdxType>())) System::SmartPtr<T>::operator[](IdxType idx) const
Parameter | Description |
---|---|
IdxType | Type of index (assumed integral). |
Parameter | Type | Description |
---|---|---|
idx | IdxType | Index in array. |
ReturnValue
Array value at idx position.
See Also
- Typedef SmartPtr_
- Class SmartPtr
- Namespace System
- Library Aspose.PUB for C++