## System::const_pointer_cast method


Zet smart pointers om met const_cast.

```cpp
template<class Y,class X> SmartPtr<Y> System::const_pointer_cast(SmartPtr<X> const &x)
```


| Parameter | Beschrijving |
| --- | --- |
| X | Bronpointer pointee type. |
| Y | Doelpointer pointee type. |

| Parameter | Type | Beschrijving |
| --- | --- | --- |
| x | SmartPtr\<X\> const\& | Bron‑pointer. |

### ReturnValue

Pointer na cast.

## Zie ook

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