#pragma operator_new (C++ only)
In IBM® XL C/C++ for AIX®
16.1.0 or earlier
releases, #pragma operator_new determines whether the new and
new[] operators throw an exception if the requested memory cannot be allocated.
IBM Open XL C/C++ for AIX 17.1.3
does not support #pragma operator_new. The new expressions in
IBM Open XL C/C++ for AIX 17.1.3 are
instrumented according to the C++ standard requirements, which require that a null check is
instrumented if the operator new invoked is declared non-throwing; otherwise, a
std::bad_alloc exception must be thrown on allocation failure.