經安全檢測,此網站為安全網站,請放心前往原始網址!

Operator new does not throw a bad_alloc exception on failure in Visual C++

Explains that the operator new in Visual C++ 5.0 does not throw a bad_alloc exception on failure and just returns a null pointer. You can override this behavior by installing a custom error handler by calling the _set_new_handler function.

support.microsoft.com

網址安全性掃描由 google 提供