System::SmartPtr::operator bool 方法
SmartPtr::operator bool method
检查指针是否非空。
System::SmartPtr<T>::operator bool() const noexcept
ReturnValue
如果指针为 null 则为 False,否则为 true。
另见
- Class SmartPtr
- Namespace System
- Library Aspose.Font for C++
检查指针是否非空。
System::SmartPtr<T>::operator bool() const noexcept
如果指针为 null 则为 False,否则为 true。