System::SmartPtr::const_pointer_cast method
SmartPtr::const_pointer_cast method
Casts pointer to different type using const_cast on pointed object.
template<class Y> SmartPtr<Y> System::SmartPtr<T>::const_pointer_cast() const
Parameter | Description |
---|---|
Y | Target type of pointed object. |
ReturnValue
Pointer of changed type which is always in shared mode.
See Also
- Class SmartPtr
- Class SmartPtr
- Namespace System
- Library Aspose.PUB for C++