|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.