System::Collections::Generic::ListPtr klasse

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>>

Methoden

MethodeBeschrijving
ListPtr(std::nullptr_t)Initialiseert null‑pointer.
ListPtr(const SharedPtr<List<T>>&)Initialiseert een pointer naar de opgegeven lijst.
operator==(std::nullptr_t) constControleert of de List pointer null is.
operator[](int)Accessor.
operator[](int) constAccessor.

Zie ook