Language Features in Visual C++ 2005
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 Language Features for Targeting the CLR 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.
jitintrinsicdeclspec modifier has been added.
noaliasdeclspec 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.
restrictdeclspec modifier has been added.
__thiscall is now a keyword.
__unaligned keyword is now documented.
volatile (C+) has updated behavior with respect to optimizations.