Prev Next

Managed C++ Conventions

These conventions are used for managed extensions to C++ prior to C++/CLI. In order to set the system to generate managed C++ you must modify the C++ version in the C++ Options.

Stereotypes

Stereotype

Applies To

See also

property

Operation

Corresponds To: The '__property' keyword.

property get

Operation

Corresponds To: The '__property' keyword and a read property.

property set

Operation

Corresponds To: The '_ _property' keyword and a 'write' property.

reference

Class

Corresponds To: The '__gc' keyword.

value

Class

Corresponds To: The '__value' keyword.

Tagged Values

Tag

Applies To

See also

managedType

Class with stereotype reference, value or enumeration; Interface

Corresponds To: The keyword used in declaration of this type; expected values are 'class' or 'struct'.

Other Conventions

  • The typedef and anonymous tags from native C++ are not supported
  • The Pure property of an operation corresponds to the keyword __abstract

Learn more