~/talk

To Err is Human - Robust Error Handling in C++26

Talkat C++ on Sea 2025 · 2025-06-23..06-25· [c-and-cpp]
slides:none on file

C++23 and C++26 additions get used: std::expected for return-value error flow, contracts for configurable pre/post checks, and library hardening to turn STL preconditions into runtime reports. The system sends a suspended-process mini‑dump to a backend that symbolicates stacks, groups failures by function-offset, and correlates loaded libraries; asserts stay enabled and reports are throttled. Focus is on checking every API call, keeping error paths small, and shipping targeted workarounds when bugs are reproducible.

AI-written summary · about

  1. 0:00Robust error handling intro
  2. 3:40C-style error limits
  3. 7:13C++ exceptions pros/cons
  4. 11:30std::expected in C++26
  5. 16:50Contracts for invariants
  6. 24:11Library hardening in C++26
  7. 28:29Error handling best practices
  8. 36:40Error categorization
  9. 41:34Automated error reporting
  10. 45:00Q&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.