@penguin42 They require all your code to be written in an exception-safe manner, though. It's a lot easier now that C++ has pivoted on RAII, move semantics and smart pointers.
But LibreOffice is an ancient codebase so is likely still using data structures with unclear ownership and semantics.
@penguin42 btw, C++ exceptions got better with the removal of the dynamic throw specifiers.
There's a proposal by Herb Sutter (author of the classic Exceptional C++) to move towards statically-typed exceptions, with a single type std::error:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0709r4.pdf
(oddly, https is broken on open-std.org)
#cpp #programming
@penguin42 Actually, this has a better summary and discussion:
https://www.reddit.com/r/cpp/comments/pfjtvr/what_is_your_review_of_c_exceptions_and/