C++/WinRT

E182252

C++/WinRT is a modern, standard C++ language projection for the Windows Runtime that enables developers to write high-performance Windows apps using idiomatic C++ without relying on C++/CX.

All labels observed (2)

Label Occurrences
C++/WinRT canonical 5
cppwinrt code generation tool 1

How this entity was disambiguated

Statements (50)

Predicate Object
instanceOf C++ library
Windows Runtime language projection
Windows development tool
language projection
avoids C++/CX language extensions
category C++/CLI
surface form: C++ interoperability library

Windows SDK
surface form: Windows development framework
designedFor WinRT
surface form: Windows Runtime
designPrinciple header-only, source-based projection
no custom compiler extensions
developedBy Microsoft
distributionChannel NuGet package manager
surface form: NuGet

vcpkg
distributionForm header files
documentation https://learn.microsoft.com/windows/uwp/cpp-and-winrt-apis
goal enable idiomatic C++ for Windows Runtime
high-performance Windows apps
zero-overhead abstractions
implements C++ exception-based error handling over HRESULT
RAII patterns
includesTool C++/WinRT self-linksurface differs
surface form: cppwinrt code generation tool
integratesWith CMake
MSVC
Visual Studio
introducedAs replacement for C++/CX for WinRT
is header-only library
license MIT License
programmingLanguage C++
provides projected C++ types for WinRT classes
projected C++ types for WinRT enums
projected C++ types for WinRT interfaces
projected C++ types for WinRT structs
replaces C++/CX
repository https://github.com/microsoft/cppwinrt
supports UWP app development
WinRT
surface form: WinRT APIs

WinUI
Microsoft Store
surface form: Windows Store apps

Windows desktop apps
supportsFeature C++ coroutines for async WinRT APIs
async and await-like patterns via coroutines
component authoring for WinRT
strongly-typed projections of WinRT metadata
supportsLanguageStandard C++17
C++20
targetPlatform Windows
Windows 10
Windows 11
uses WinMD metadata for code generation
standard C++

How these facts were elicited

Referenced by (6)

Full triples — surface form annotated when it differs from this entity's canonical label.

Windows.Networking namespace supportsLanguage C++/WinRT
subject surface form: Windows.Networking
C++/WinRT includesTool C++/WinRT self-linksurface differs
this entity surface form: cppwinrt code generation tool
WinRT languageProjection C++/WinRT