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