System::Collections::Generic::ListPtr classe

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

Méthodes

MéthodeDescription
ListPtr(std::nullptr_t)Initialise le pointeur nul.
ListPtr(const SharedPtr<List<T>>&)Initialise le pointeur vers la liste spécifiée.
operator==(std::nullptr_t) constVérifie si le pointeur List est nul.
operator[](int)Accesseur.
operator[](int) constAccesseur.

Voir aussi