طريقة System::SmartPtr::operator bool

SmartPtr::operator bool method

يتحقق مما إذا كان المؤشر غير فارغ.

System::SmartPtr<T>::operator bool() const noexcept

ReturnValue

خطأ إذا كان المؤشر null، صحيح خلاف ذلك.

انظر أيضًا