## Object::SetTemplateWeakPtr method


Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.

```cpp
virtual void System::Object::SetTemplateWeakPtr(uint32_t argument)
```


| Parameter | Type | Description |
| --- | --- | --- |
| argument | uint32_t | [Index](../../index/) of template argument to treat as weak poiner. |

## See Also

* Class [Object](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
