## SmartPtr::operator bool method


检查指针是否非空。

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


### ReturnValue

如果指针为 null 则为 False，否则为 true。

## 另见

* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
