const_pointer_cast()
System::const_pointer_cast(SmartPtr<X> const&) function
Casts smart pointers using const_cast.
template<class Y,class X> SmartPtr<Y> System::const_pointer_cast(SmartPtr<X> const &x)
Template parameters
Parameter | Description |
---|---|
X | Source pointer pointee type. |
Y | Target pointer pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
x | SmartPtr<X> const& | Source pointer. |
Return Value
Pointer after cast.
See Also
- Class SmartPtr
- Namespace System
- Library Aspose.Slides