Is it necessary to check for nullptr after allocating an object using gcnew?
+1
A:
No, you'll get a OutOfMemoryException in the object can't be allocated by the GC.
Jb Evain
2009-05-19 09:09:54