System::SmartPtr::operator[] Methode

SmartPtr::operator[] method

Zugriff auf Array‑Elemente. Kompiliert nur, wenn SmartPtr_ eine Spezialisierung von System::Array ist.

template<typename IdxType> decltype(System::Details::GetByIndex(std::declval<const SmartPtr_ *>(), std::declval<IdxType>())) System::SmartPtr<T>::operator[](IdxType idx) const
ParameterBeschreibung
IdxTypeTyp des Index (angenommen ganzzahlig).
ParameterTypBeschreibung
idxIdxTypeIndex im Array.

ReturnValue

Array value at idx position.

Siehe auch