79736692

Date: 2025-08-15 17:40:50
Score: 1
Natty:
Report link

In C++, the default (non-placement) operator new never returns nullptr when memory allocation fails.
Instead, it throws a std::bad_alloc exception.

If you explicitly want new to return nullptr on allocation failure, you must use seemore

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user31171107