## ListPtr class


[List](../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.

```cpp
template<typename T>class ListPtr : public System::SmartPtr<T0>
```

## Metoder

| Metod | Beskrivning |
| --- | --- |
| [ListPtr](./listptr/)(std::nullptr_t) | Initierar null‑pekare. |
| [ListPtr](./listptr/)(const SharedPtr\<List\<T\>\>\&) | Initierar pekare till angiven lista. |
| [operator==](./operator==/)(std::nullptr_t) const | Kontrollerar om [List](../list/) pekare är null. |
| [operator[]](./operator[]/)(int) | Åtkomstmetod. |
| [operator[]](./operator[]/)(int) const | Åtkomstmetod. |
## Se även

* Class [SmartPtr](../../system/smartptr/)
* Namespace [System::Collections::Generic](../)
* Library [Aspose.PDF for C++](../../)
