In what situation can new Struct() return null?

faissaloo faissaloo at gmail.com
Fri May 10 10:11:51 UTC 2019


My program contains the following statement:
     auto newChildNode = new Node();

In debugging I have found that this pointer evaluates to null, 
what could cause this? I should have plenty of memory, my only 
other idea is some sort of heap corruption.


More information about the Digitalmars-d-learn mailing list