## System::const_pointer_cast method


Effectue un cast des pointeurs intelligents en utilisant const_cast.

```cpp
template<class Y,class X> SmartPtr<Y> System::const_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](../smartptr/)
* Namespace [System](../)
* Library [Aspose.Font for C++](../../)
