~/talk

the expected outcome

Talkat Meeting C++ 2022 · 2022-11-17..11-19· [rust]
links:none on file
slides:none on file

Shows that std::expected in C++23 is a concrete, usable error type (extensions land in C++26) and demonstrates a complete roll-your-own expected plus Boost.Outcome interop. Covers specific APIs: and_then/transform/or_else plus X-invoke/X-coalesce and lazy variants, conversions to/from exceptions and out-params, and how to serialize errors. Builds coroutine integration that short-circuits on errors to mimic try/catch without exceptions. Reports performance: tiny happy-path overhead, much faster on error paths, and practical examples that compile and interoperate.

AI-written summary · about

  1. 0:00Introduction
  2. 3:33Traditional error handling problems
  3. 9:19Introducing expected
  4. 13:53Expected in C++23
  5. 18:34Predictable execution paths
  6. 21:08Idiomatic expected values
  7. 25:46Errors with or_else and fallback
  8. 28:38Interoperability of error handling
  9. 33:20Converting error types
  10. 38:56Advanced function composition
  11. 43:01Lazy evaluation with expected
  12. 46:01Expected and coroutines
  13. 51:38Summary
  14. 54:11Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.