Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual C++

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual C++ Concepts: Porting and Upgrading
Value Types and Their Behaviors

Value types have changed in various ways from Managed Extensions for C++ to Visual C++ 2008. 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.

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker