dynamic_pointer_cast()
SmartPtr::dynamic_pointer_cast() const method
Casts pointer to different type using dynamic_cast on pointed object.
template<class Y> SmartPtr<Y> System::SmartPtr<T>::dynamic_pointer_cast() const
Template parameters
Parameter | Description |
---|---|
Y | Target type of pointed object. |
Return Value
Pointer of changed type which is always in shared mode.
See Also
- Class SmartPtr
- Namespace System
- Library Aspose.Slides