System::Collections::Generic::ListPtr class

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

Methods

MethodDescription
ListPtr(std::nullptr_t)Initializes null-pointer.
ListPtr(const SharedPtr<List<T>>&)Initializes pointer to specified list.
operator==(std::nullptr_t) constChecks if List pointer is null.
operator[](int)Accessor.
operator[](int) constAccessor.

See Also