The c++ 'new' function has several variants.
Only the no-throw versions of these return a nullptr on failure.
Error handling based on tha nullptr check for the throw version
is dead code.
ex/
char *n = new char[x];
if (n == nullptr) // this is dead/impossible code
do_something();
Could this be rewritten as a matcher instead? Surely there must be one comparing the literal to null?