System::Collections::Generic::ListPtr::operator[] метод

ListPtr::operator method

Аксессор.

std::vector<T>::reference System::Collections::Generic::ListPtr<T>::operator[](int idx)
ПараметрТипОписание
idxintIndex для доступа к элементу.

ReturnValue

Ссылка на указанный элемент.

См. также

ListPtr::operator const method

Аксессор.

std::vector<T>::const_reference System::Collections::Generic::ListPtr<T>::operator[](int idx) const
ПараметрТипОписание
idxintIndex для доступа к элементу.

ReturnValue

Константная ссылка на указанный элемент.

См. также