C++ Language/Objects/Constructors/MemoryFull

The C language's  returned   if memory was full when that allocation was attempted.

C++'s  instead throws a   exception.

Alternatively, you could use  to specify a callback that will be repeatedly called until enough memory is available.

Additional information about memory being full