## WeakReference< T >::WeakReference() method


Constructeur par défaut.

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

## Voir aussi

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


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

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


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

## Voir aussi

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


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

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


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

## Voir aussi

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


Constructeur à partir de nullptr.

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

## Voir aussi

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