System::Collections::Generic::ListPtr klass

ListPtr class

List pointer with access operators. This type is a pointer to manage other object’s deletion. It should be allocated on stack and passed to functions either by value or by const reference.

template<typename T>class ListPtr : public System::SmartPtr<List<T>>

Metoder

MetodBeskrivning
ListPtr(std::nullptr_t)Initierar null-pekare.
ListPtr(const SharedPtr<List<T>>&)Initierar pekare till angiven lista.
operator==(std::nullptr_t) constKontrollerar om List pekaren är null.
operator[](int)Åtkomstmetod.
operator[](int) constÅtkomstmetod.

Se även