Clase System::Collections::Generic::ListPtr

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

Métodos

MétodoDescripción
ListPtr(std::nullptr_t)Inicializa un puntero nulo.
ListPtr(const SharedPtr<List<T>>&)Inicializa un puntero a la lista especificada.
operator==(std::nullptr_t) constComprueba si el puntero List es nulo.
operator[](int)Accesor.
operator[](int) constAccesor.

Ver también