Share via


WeakReference::WeakReference Constructor

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at WeakReference::WeakReference Constructor.

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

WeakReference();  

Remarks

Initializes a new instance of the WeakReference class.

The strong reference pointer for the WeakReference object is initialized to nullptr, and the strong reference count is initialized to 1.

Requirements

Header: implements.h

Namespace: Microsoft::WRL::Details

See Also

Microsoft::WRL::Details Namespace