JavaScript EditorDhtml editor     Free javascript download 



Main Page

Value types have changed in various ways from Managed Extensions for C++ to Visual C++ 2005. In this section, we look at the CLR enum type and the value class type, together with a look at boxing and access to the boxed instance on the CLR heap, as well as a look at interior and pinning pointers. There have been extensive language changes in this area.

In This Section

Value Types and Their Behaviors

Discusses changes in the declaration and behavior of enums.

Implicit Boxing of Value Types

Discusses the motivation for implicit boxing of value types and the consequent changes in behavior.

A Tracking Handle to a Boxed Value

Discusses how implicit boxing of value types translates to a tracking handle to the boxed value object.

Value Type Semantics

Discusses changes to value type semantics, including inherited virtual methods, class default constructors, interior pointers, and pinning pointers.

See Also

Reference

Classes and Structs (Managed)

Concepts

C++/CLI Migration Primer



JavaScript EditorDhtml editor     Free javascript download