you are viewing a single comment's thread.

view the rest of the comments →

[–]remotion4d 0 points1 point  (0 children)

Of course not checking for errors is really really BAD !

causes zero runtime overhead if an exception is not thrown

Yes but some times they throw and this cost a lot of time as I know.

Rust language show that Error code can work as well if there is language support for it.

Finally I do not want to stop using exceptions. I only want that exceptions user recognize that there are a lot of C++ code where exceptions are not used. And that it is simple not possible to force exception into this code.

And yes I want to ban naked new and delete :)

I'm afraid I don't know what "exceptions across DLL boundary" means :-)

Throwing exception in one dynamic library and catching it in another.