System::SmartPtr::dynamic_pointer_cast method

SmartPtr::dynamic_pointer_cast method

Casts pointer to different type using dynamic_cast on pointed object.

template<class Y> SmartPtr<Y> System::SmartPtr<T>::dynamic_pointer_cast() const
ParameterDescription
YTarget type of pointed object.

ReturnValue

Pointer of changed type which is always in shared mode.

See Also