System::SmartPtr::const_pointer_cast yöntemi

SmartPtr::const_pointer_cast method

İşaret edilen nesne üzerinde const_cast kullanarak işaretçiyi farklı bir tipe dönüştürür.

template<class Y> SmartPtr<Y> System::SmartPtr<T>::const_pointer_cast() const
ParameterAçıklama
Yİşaret edilen nesnenin hedef tipi.

ReturnValue

Her zaman paylaşımlı modda olan, değiştirilmiş tipteki işaretçi.

Ayrıca Bakınız