System::SmartPtr::operator= méthode
Contenu
[
Cacher
]SmartPtr::operator=(const SmartPtr<Q>&) method
Copie‑assigne l’objet SmartPtr. Effectue les conversions de type requises.
template<typename Q> SmartPtr_ & System::SmartPtr<T>::operator=(const SmartPtr<Q> &x)
| Paramètre | Description |
|---|---|
| Q | Type de l’objet pointé par x. |
| Paramètre | Type | Description |
|---|---|---|
| x | const SmartPtr<Q>& | Pointeur pour copie‑assignation. |
ReturnValue
Référence à cet objet.
Voir aussi
- Typedef SmartPtr_
- Class SmartPtr
- Class SmartPtr
- Namespace System
- Library Aspose.Font for C++
SmartPtr::operator=(const SmartPtr_&) method
Copie‑assigne l’objet SmartPtr.
SmartPtr_ & System::SmartPtr<T>::operator=(const SmartPtr_ &x)
| Paramètre | Type | Description |
|---|---|---|
| x | const SmartPtr_& | Pointeur pour copie‑assignation. |
ReturnValue
Référence à cet objet.
Voir aussi
- Typedef SmartPtr_
- Class SmartPtr
- Namespace System
- Library Aspose.Font for C++
SmartPtr::operator=(Pointee_ *) method
Assigne un pointeur brut à l’objet SmartPtr.
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_
- Typedef Pointee_
- Class SmartPtr
- Namespace System
- Library Aspose.Font for C++
SmartPtr::operator=(SmartPtr_&&) method
Déplace‑assigne l’objet SmartPtr. x devient inutilisable.
SmartPtr_ & System::SmartPtr<T>::operator=(SmartPtr_ &&x) noexcept
| Paramètre | Type | Description |
|---|---|---|
| x | SmartPtr_&& | Pointeur pour déplacement‑assignation. |
ReturnValue
Référence à cet objet.
Voir aussi
- Typedef SmartPtr_
- Class SmartPtr
- Namespace System
- Library Aspose.Font for C++
SmartPtr::operator=(std::nullptr_t) method
Définit la valeur du pointeur à nullptr.
SmartPtr_ & System::SmartPtr<T>::operator=(std::nullptr_t)
ReturnValue
Référence à cet objet.
Voir aussi
- Typedef SmartPtr_
- Class SmartPtr
- Namespace System
- Library Aspose.Font for C++