Skip to content
C++/CX

Official website (https://docs.microsoft.com/en-us/cpp/cppcx/visual-c-language-reference-c-cx)

EntityQ197708· pop 8· linked from 159 articles

Also known as C++ component extensions

C++/CX (C++ component extensions) is a language projection for Microsoft's Windows Runtime platform. It takes the form of a language extension for C++ compilers, and it enables C++ programmers to write programs that call Windows Runtime (WinRT) APIs. C++/CX is superseded by the C++/WinRT language projection, which is not an extension to the C++ language; rather, it's an entirely standard modern ISO C++17 header-file-based library.

Official website

C++/CX Language Reference | Microsoft Learn

Learn more about: C++/CX Language Reference

docs.microsoft.com

Link to the official site · 6,331 chars · not written by Vinony

Wikidata facts

Show 1 more fact
publication date
2011-00-00
Sources (3)

via Wikidata · CC0

~5 min read

Article

13 sections
Contents
  • Extension syntax
  • Objects
  • Reference counting
  • Classes
  • Runtime classes
  • Partial classes
  • Generics
  • Metadata
  • Runtime library
  • Preprocessor-based detection
  • See also
  • References
  • External links

C++/CX (C++ component extensions) is a language projection for Microsoft's Windows Runtime platform. It takes the form of a language extension for C++ compilers, and it enables C++ programmers to write programs that call Windows Runtime (WinRT) APIs. C++/CX is superseded by the C++/WinRT language projection, which is not an extension to the C++ language; rather, it's an entirely standard modern ISO C++17 header-file-based library.

The language extensions borrow syntax from C++/CLI but target the Windows Runtime Universal Windows Platform native code instead of the Common Language Runtime and managed code. It brings a set of syntax and library abstractions that project COM's WRL subset-based WinRT programming model in a way that is intuitive to C++/CLI managed extensions' coders.

Available in 8 languages

via Wikidata sitelinks · CC0

Connections

Categories