C++ managed profile stereotypes
Note
The profile table and description in this section does not include the tagged value inherited from other profiles.
Stereotype
C++ManagedClass
| Name | Meta Class | Constraints |
|---|---|---|
C++ManagedClass | Class | Represent the class declaration with version 1 of Managed Extension for C++. |
| Tag | Type | Description |
managedType | managedType[1] = __gc (enumeration) See managedType |
C++ManagedStruct
| Name | Meta Class | Constraints |
|---|---|---|
C++ManagedStruct | Class | Represent the class declaration with version 1 of Managed Extension for C++. |
C++ManagedOperation
| Name | Meta Class | Constraints |
|---|---|---|
C++ManagedOperation | Operation | |
| Tag | Type | Description |
| __property | boolean[1] = false | Represent the usage of __property keyword. It is a feature in version 1 of Managed Extension for C++. |
C++ManagedDelegate
| Name | Meta Class | Constraints |
|---|---|---|
C++ManagedDelegate | Class | Represent the delegate declaration with version 1 of Managed Extension for C++. It defines a reference type that can be used to encapsulate a method with a specific signature. |
Enumeration
managedType
| Literal | Description |
|---|---|
| __gc | Represent managed declaration with __gc keyword. |
| __nogc | Represent the usage of __nogc keyword, which is used to explicitly specify that an object is allocated on the standard C++ heap. |
| __value | Represent managed declaration with __value keyword. A __value type differs from __gc types in that __value type variables directly contain their data, whereas managed variables point to their data, which is stored on the common language runtime heap. |
