طريقة System::SmartPtr::dynamic_pointer_cast

SmartPtr::dynamic_pointer_cast method

يحوّل المؤشر إلى نوع مختلف باستخدام dynamic_cast على الكائن المشار إليه.

template<class Y> SmartPtr<Y> System::SmartPtr<T>::dynamic_pointer_cast() const
معاملالوصف
Yنوع الهدف للكائن المشار إليه.

ReturnValue

مؤشر من نوع متغيّر يكون دائمًا في وضع المشاركة.

انظر أيضًا