New Language Features
This topic lists the new features in the Visual C++ 2005 language syntax.
Remarks
Visual C++ 2005 features new syntax to develop applications for the Common Language Runtime. For more information, see New C++ Language Features and Breaking Changes in the Visual C++ 2005 Compiler.
The Visual C++ 2005 language syntax contains the following additional new features:
The attributeattribute is now deprecated. See User-Defined Attributes for information on how to create attributes.
appdomain __declspec modifier has been added.
__clrcall calling convention has been added.
deprecated (C++) declspec modifier now allows you to specify a string that will be displayed at compile time, when a user tries to access a deprecated class or function.
dynamic_cast Operator has breaking changes.
Native enums now allow you to specify the underlying type. For more information, see C++ Enumeration Declarations.
jitintrinsic declspec modifier has been added.
noalias declspec modifier has been added.
process __declspec modifier has been added.
abstract, override, and sealed are valid for native compilations. For more information, see How to: Declare Override Specifiers in Native Compilations.
__restrict keyword has been added.
restrict declspec modifier has been added.
__thiscall is now a keyword.
__unaligned keyword is now documented.
volatile (C++) has updated behavior with respect to optimizations.