Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 gcnew 分配对象后是否需要检查 nullptr?
不,您将在 GC 无法分配对象中获得OutOfMemoryException 。