## WeakReference<>::WeakReference() method


Constructeur par défaut.

```cpp
System::WeakReference<>::WeakReference()
```

## Voir aussi

* Class [WeakReference<>](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## WeakReference<>::WeakReference(const SmartPtr\<Object\>\&) method


Initialise une nouvelle instance de la classe [WeakReference](../../weakreference/), en référencant l'objet spécifié.

```cpp
System::WeakReference<>::WeakReference(const SmartPtr<Object> &data)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| data | const SmartPtr\<Object\>\& | [Object](../../object/) pour stocker. |

## Voir aussi

* Class [SmartPtr](../../smartptr/)
* Class [Object](../../object/)
* Class [WeakReference<>](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## WeakReference<>::WeakReference(const SmartPtr\<Object\>\&, bool) method


Initialise une nouvelle instance de la classe [WeakReference](../../weakreference/), en référencant l'objet spécifié.

```cpp
System::WeakReference<>::WeakReference(const SmartPtr<Object> &data, bool trackResurrection)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| data | const SmartPtr\<Object\>\& | [Object](../../object/) pour stocker. |
| trackResurrection | bool | Ignoré. |

## Voir aussi

* Class [SmartPtr](../../smartptr/)
* Class [Object](../../object/)
* Class [WeakReference<>](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## WeakReference<>::WeakReference(std::nullptr_t) method


Constructeur à partir de nullptr.

```cpp
System::WeakReference<>::WeakReference(std::nullptr_t)
```

## Voir aussi

* Class [WeakReference<>](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
