Power BI Fundamentals - Create visualizations and dashboards from scratch
Learn Python with Generative AI - Self Paced Online
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
A conference talk from CppCon 2024 where Phil Nash explores comprehensive approaches to error handling in modern C++. Dive into the evolution of error handling mechanisms, from traditional exceptions to newer features like std::optional (C++17) and std::expected with Monadic Operations (C++23). Learn when to use different error handling strategies including boolean returns, error codes, global/thread local error status, and pointer/reference arguments. Understand the role of assertions and upcoming contracts in error management. The presentation addresses critical questions about making optimal error handling decisions at the right time in your development process, with special attention to how error conditions impact code safety and security. Phil Nash, the original author of Catch2 testing framework, ISO C++ standards committee member, and experienced trainer, provides valuable insights for both novice and experienced C++ developers looking to improve their error handling practices.
Syllabus
Modern C++ Error Handling - Phil Nash - CppCon 2024
Taught by
CppCon