Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of error handling in C++ through this comprehensive conference talk from ACCU 2017. Delve into various error handling techniques, including enums, exceptions, and the system_error header. Compare C++'s approach with newer languages like Rust and Swift, which use monadic wrappers for error handling. Examine the ongoing efforts to standardize error handling in C++, including optional and expected. Discover a new solution called "outcomes," implemented as Boost.Outcome library, which offers a lightweight alternative for unified error handling. Learn about the performance implications of different error handling methods across major compilers and library implementations. Gain insights into the potential future of error handling in C++ and its implications for game development and low-latency applications.
Syllabus
Introduction
Content
Benchmark
Sierra Handling
System Error Hat
Semantic Mapping
NoException
New Stuff
API Overload
Error Handling
Variance
Expected class
Value member accessor
Monads
Square Root
Combine
Expect
Implicit construction
Use case
Benchmarks
Taught by
ACCU Conference