De-fragmenting C++ - Making Exceptions More Affordable and Usable
Explore the challenges and potential solutions for exception handling in C++ in this keynote address from ACCU 2019. Delve into the root causes of fragmentation within the C++ community regarding error handling and examine proposed solutions aimed at unifying exception usage. Learn about the distinctions between program-recoverable errors, program bugs, and resource limit exceedances, and understand why they should be reported differently. Discover ongoing efforts in C++ standardization to evolve the standard library, including groundwork laid in C++20 for future changes. Gain insights from Herb Sutter, a prominent figure in C++ development, as he discusses zero-overhead exception handling, throw values versus types, and proposed extensions like try expressions. Understand the benefits of these potential changes, including improved convenience, automatic exception propagation, and enhanced code visibility.