winrt::no_weak_ref marker struct (C++/WinRT)

A marker type passed to the implements base struct to opt out of weak reference support, which is otherwise provided automatically. As a result, implements does not implement the IWeakReferenceSource interface. See Strong and weak references in C++/WinRT. For a usage example of marker types, see Marker types.

Syntax

struct winrt::no_weak_ref

Requirements

Minimum supported SDK: Windows SDK version 10.0.17134.0 (Windows 10, version 1803)

Namespace: winrt

Header: %WindowsSdkDir%Include<WindowsTargetPlatformVersion>\cppwinrt\winrt\base.h (included by default)

See also