~/lightning

Lightning Talk: Enhancing C++ exceptions with Context

Lightningat CppCon 2023 · on Monday, 2023-10-02· [developer-experience]
links:none on file
slides:none on file

Claims a lightweight Class Context that attaches rich diagnostic data without changing exception types and with minimal happy-path overhead. Implementation uses a one-line instantiation at scope entry whose constructor captures relevant variables and a thread-local collector that records those context objects only when an exception unwinds. Works with standard exceptions, avoids stack-trace fragility, and powers postcatch dumps. Prototype is part of a microthreading library called f and comes from ideas salvaged from an abandoned language project.

AI-written summary · about

~/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.