YoVDO

The Expected Outcome: Error Handling with std::expected in C++

Offered By: Meeting Cpp via YouTube

Tags

C++23 Courses C++ Courses Coroutines Courses Type Safety Courses

Course Description

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

Related Courses

Using Generics in C#
LinkedIn Learning
Java Class Library
LearnQuest via Coursera
What's New in Ruby 3
Pluralsight
C# Generics
Pluralsight
TypeScript Basic: Type System, Interfaces, Types, Generics
Udemy