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.

Throwing New Behavior Changed

A change that occurred in the Visual C++ .NET 2002 compiler (version 13.00.9466) was that the Standard C++ Library's new header file would now throw an exception when a call to new failed.

In Visual C++ 2005, the compiler will, by default, throw an exception when any call to new fails.

For more information, see The new and delete Operators.

Community Additions

ADD
Show:
© 2015 Microsoft