Before we begin
Essential information before you begin the tutorial.
Gentle introduction to writing code with simple success-or-failure return types.
- TRY operations
- TRY is greedy
- Inspecting result
Success-or-failure return types where failure can take two forms, expected/handled failure and unexpected/abort failure.
- Inspecting outcome
Describes the concept of NoValuePolicy and how to use no-value policies.
- A custom no-value policy
- Built-in policies
Using Outcome in C++ Coroutines
- Coroutine TRY operation
- Coroutine awaitables
- Returning Outcome types from Coroutines
operator co_awaitas TRY operator
Why you should avoid custom
Etypes in public APIs.