Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

General Language Changes 

A number of CLR language features changed from Managed Extensions for C++ to Visual C++ 2005.

The changes described in this section are a sort of language miscellany. It includes a change in the handling of string literals, a change in the overload resolution between an ellipsis and the Param attribute, the change of typeof to typeid, a change in the calling of constructor initializer lists, and the introduction of a new cast notation, that of safe_cast.

String Literal

Discusses how the handling of string literals has changed.

Param Array and Ellipsis

Discusses how ParamArray is now given precedence over the ellipsis () for resolving function calls with varying numbers of arguments.

typeof Goes to T::typeid

Discusses how the typeof operator has been supplanted by typeid.

Initializer Lists

Discusses changes in the calling order of initializer lists.

Cast Notation and Introduction of safe_cast<>

Discusses changes to cast notation and in particular the introduction of safe_cast.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft