Exceptions in C++ - Better Design Through Analysis of Real World Usage
Explore the controversial topic of exceptions in C++ through this comprehensive conference talk from CppNow 2023. Delve into the original intent and mechanics of exceptions, analyze real-world usage patterns, and examine common misuses in resource management, retries, checking, hierarchies, logging, data passing, and control flow. Learn better alternatives for handling these situations and gain insights into the key attributes exceptions should provide. Discover where exceptions are most appropriate and examine a model exception class design. Benefit from the speaker's extensive experience across various industries to understand what works best for large-scale engineering projects, and develop a nuanced perspective on exception handling in C++.