méthode System::static_pointer_cast
System::static_pointer_cast method
Effectue des conversions de pointeurs intelligents en utilisant static_cast.
template<class Y,class X> SmartPtr<Y> System::static_pointer_cast(SmartPtr<X> const &x)
| Paramètre | Description |
|---|---|
| X | Type d’objet pointé par le pointeur source. |
| Y | Type d’objet pointé par le pointeur cible. |
| Paramètre | Type | Description |
|---|---|---|
| x | SmartPtr\<X\> const\& | Pointeur source. |
ReturnValue
Pointeur après conversion.
Voir aussi
- Class SmartPtr
- Namespace System
- Library Aspose.Font for C++