Namespaces Reference (C++/CX)

The articles in this section of the documentation describe namespaces that support the compiler for C++/CX.

Compiler-supplied namespaces

To simplify the coding of programs that target the Windows Runtime, the C++/CX compiler and its supporting header files provide namespaces that define a wide range of types. The namespaces define the built-in numeric types; strings, arrays, and collections; Visual C++ exceptions that represent Windows Runtime errors; and language-specific enhancements to standard Windows Runtime types.

Title Description
default namespace Contains descriptions of built-in, fundamental types.
Platform namespace Contains descriptions of types that you can use, and also internal types that are used only by the compiler infrastructure.
Windows::Foundation::Collections Namespace Contains descriptions of enhancements and extensions to the Windows RuntimeWindows::Foundation::Collections namespace.

See Also

Visual C++ Language Reference