System::const_pointer_cast method
System::const_pointer_cast method
Casts smart pointers using const_cast.
template<class Y,class X> SmartPtr<Y> System::const_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++