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

Методы

МетодОписание
ListPtr(std::nullptr_t)Инициализирует нулевой указатель.
ListPtr(const SharedPtr<List<T>>&)Инициализирует указатель на указанный список.
operator==(std::nullptr_t) constПроверяет, является ли указатель List нулевым.
operator[](int)Аксессор.
operator[](int) constАксессор.

См. также