System::static_pointer_cast method
System::static_pointer_cast method
Casts smart pointers using static_cast.
template<class Y,class X> SmartPtr<Y> System::static_pointer_cast(SmartPtr<X> const &x)
Parameter | Description |
---|---|
X | Source pointer pointee type. |
Y | Target pointer pointee type. |
Parameter | Type | Description |
---|---|---|
x | SmartPtr<X> const& | Source pointer. |
ReturnValue
Pointer after cast.
See Also
- Class SmartPtr
- Namespace System
- Library Aspose.PUB for C++