Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore error handling in C++ with a focus on the std::expected feature introduced in C++23 in this comprehensive conference talk from Meeting C++ 2022. Delve into the various ways of encoding errors in C++ types, including std::expected and alternatives like Boost.Outcome. Learn about the pros and cons of different error handling methods and discover how to implement a complete "expected" type before C++26. Examine advanced usage patterns that simplify working with expected-like types, moving beyond traditional error-handling approaches. Investigate the integration of expected-like types with C++20 coroutines, offering a syntax reminiscent of try-catch blocks without the drawbacks of exceptions. While the core concepts are accessible to beginners, be prepared for more complex implementation details throughout the presentation.
Syllabus
the expected outcome - Ivan Čukić - Meeting C++ 2022
Taught by
Meeting Cpp