在 2025-10-16 20:40, Yan-Jie Wang 写道:
+#if __EXCEPTIONS
+    try {
+#endif
+       str=(char *)::operator new[](mbSize);
+#if __EXCEPTIONS
+    } catch (...) {
+       str=NULL;
+    }
+#endif

Isn't this just

   str = (char*) ::operator new[](::std::nothrow, mbSize);



--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to