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


Standardkonstruktor.

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

## Siehe auch

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


Initialisiert eine neue Instanz der [WeakReference](../../weakreference/) Klasse, die das angegebene Objekt referenziert.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| data | const SmartPtr\<T\>\& | [Object](../../object/) zum Speichern. |

## Siehe auch

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


Initialisiert eine neue Instanz der [WeakReference](../../weakreference/) Klasse, die das angegebene Objekt referenziert.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| data | const SmartPtr\<T\>\& | [Object](../../object/) zum Speichern. |
| trackResurrection | bool | Ignoriert. |

## Siehe auch

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


Konstruktor von nullptr.

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

## Siehe auch

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