## SmartPtrMode enum


[SmartPtr](../smartptr/) pointer type: weak or shared. Defines whether pointer is being counted when it is being decided whether to delete object or not.

```cpp
enum class SmartPtrMode : char
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Shared | 0 | Shared mode: pointer participates in reference counting. |
| Weak | 1 | Weak mode: pointer does not participate in reference counting. |

## See Also

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