## SmartPtr::operator bool method


Checks if pointer is not null.

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


### ReturnValue

False if pointer is null, true otherwise.

## See Also

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