static_pointer_cast()
System::static_pointer_cast(SmartPtr<X> const&) function
Casts smart pointers using static_cast.
template<class Y,class X> SmartPtr<Y> System::static_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