## SmartPtr::operator[] method


Zugriff auf Array-Elemente. Kompiliert nur, wenn [SmartPtr_](../smartptr_/) eine Spezialisierung von [System::Array](../../array/) ist.

```cpp
template<typename IdxType> decltype(System::Details::GetByIndex(std::declval<const SmartPtr_ *>(), std::declval<IdxType>())) System::SmartPtr<T>::operator[](IdxType idx) const
```


| Parameter | Beschreibung |
| --- | --- |
| IdxType | Typ des Index (angenommen ganzzahlig). |

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| idx | IdxType | Index im Array. |

### ReturnValue

[Array](../../array/) value at idx position.

## Siehe auch

* Typedef [SmartPtr_](../smartptr_/)
* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
artPtr](../)‑Objekt zu.

```cpp
SmartPtr_ & System::SmartPtr<T>::operator=(const SmartPtr_ &x)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| x | const SmartPtr_\& | Zeiger für Kopierzuweisung. |

### ReturnValue

Referenz auf dieses Objekt.

## Siehe auch

* Typedef [SmartPtr_](../smartptr_/)
* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## SmartPtr::operator=(Pointee_ *) method


Weist einen rohen Zeiger einem [SmartPtr](../)‑Objekt zu.

```cpp
SmartPtr_ & System::SmartPtr<T>::operator=(Pointee_ *p)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| p | Pointee_ * | Zeigerwert zum Zuweisen. |

### ReturnValue

Referenz auf dieses Objekt.

## Siehe auch

* Typedef [SmartPtr_](../smartptr_/)
* Typedef [Pointee_](../pointee_/)
* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## SmartPtr::operator=(SmartPtr_\&&) method


Verschiebt und weist ein [SmartPtr](../)‑Objekt zu. x wird unbrauchbar.

```cpp
SmartPtr_ & System::SmartPtr<T>::operator=(SmartPtr_ &&x) noexcept
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| x | SmartPtr_\&& | Zeiger für Verschiebezuweisung. |

### ReturnValue

Referenz auf dieses Objekt.

## Siehe auch

* Typedef [SmartPtr_](../smartptr_/)
* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## SmartPtr::operator=(std::nullptr_t) method


Setzt den Zeigerwert auf nullptr.

```cpp
SmartPtr_ & System::SmartPtr<T>::operator=(std::nullptr_t)
```


### ReturnValue

Referenz auf dieses Objekt.

## Siehe auch

* Typedef [SmartPtr_](../smartptr_/)
* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
