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
Method | Description |
---|---|
ListPtr(std::nullptr_t) | Initializes null-pointer. |
ListPtr(const SharedPtr<List<T>>&) | Initializes pointer to specified list. |
operator==(std::nullptr_t) const | Checks if List pointer is null. |
operator[](int) | Accessor. |
operator[](int) const | Accessor. |
See Also
- Class SmartPtr
- Namespace System::Collections::Generic
- Library Aspose.PUB for C++