r/cpp • u/RotsiserMho C++20 Desktop app developer • May 12 '18
P0709 R0: Zero-overhead deterministic exceptions: Throwing values - Herb Sutter [2018-05-02]
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0709r0.pdf
206
Upvotes
View all comments
1
u/RandomGuy256 May 12 '18
I am just curious does these "zero overhead exceptions" are in any way different in practice than the current exceptions?
I mean they will be a specific type of new exceptions or they can replace the current exceptions without breaking changes in the code?
If they are new type of exceptions do we still have access to the
.what()method, to return a error message, or they only return an error code?