## SmartPtr::operator[] method


Accesseur des éléments du tableau. Ne compile que si [SmartPtr_](../smartptr_/) est une spécialisation de [System::Array](../../array/).

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


| Paramètre | Description |
| --- | --- |
| IdxType | Type d'index (supposé entier). |

| Paramètre | Type | Description |
| --- | --- | --- |
| idx | IdxType | Index dans le tableau. |

### ReturnValue

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

## Voir aussi

* Typedef [SmartPtr_](../smartptr_/)
* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
System::SmartPtr<T>::operator=(const SmartPtr_ &x)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| x | const SmartPtr_\& | Pointeur à copier-assigner. |

### ReturnValue

Référence à cet objet.

## Voir aussi

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


Assigne un pointeur brut à l'objet [SmartPtr](../).

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


| Paramètre | Type | Description |
| --- | --- | --- |
| p | Pointee_ * | Valeur du pointeur à assigner. |

### ReturnValue

Référence à cet objet.

## Voir aussi

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


Déplace-assigne l'objet [SmartPtr](../). x devient inutilisable.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| x | SmartPtr_\&& | Pointeur à déplacer-assigner. |

### ReturnValue

Référence à cet objet.

## Voir aussi

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


Définit la valeur du pointeur à nullptr.

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


### ReturnValue

Référence à cet objet.

## Voir aussi

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