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

SmartPtr::const_pointer_cast method

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

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

ReturnValue

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

انظر أيضًا