Allocating managed objects in managed C ++

Do I need to check for nullptr after allocating an object with gcnew?

+1


a source to share


1 answer


No, you will get an OutOfMemoryException on an object that the GC cannot allocate.



+1


a source







All Articles