std::set_new_handler and no exceptions #976
Replies: 1 comment 1 reply
-
It depends on its internal code generated in stl. |
Beta Was this translation helpful? Give feedback.
-
It depends on its internal code generated in stl. |
Beta Was this translation helpful? Give feedback.
-
Does std::set_new_handler work if
-fno-exceptions
is set?I have never experienced an allocation issues with the standard, because I think this typically only occurs when the system is running out of memory. I'd like to know the best way to handle these allocation errors in the context of
-fno-exceptions
.Beta Was this translation helpful? Give feedback.
All reactions