Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Throwing New Behavior Changed

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