Declarative Control Flow with C++ Scope Guards
CppCon · Talk · 1 h 8 min · 2015 · YouTube title: CppCon 2015: Andrei Alexandrescu “Declarative Control Flow"
Why it's here
Pointed to in threads on defer, scope_exit and RAII as the clearest treatment of scope guards.
What it covers
Andrei Alexandrescu's CppCon 2015 talk on handling exceptional control flow declaratively in C++. It uses scope guards with success and failure variants, built on std::uncaught_exceptions, to replace ad hoc RAII classes and rethrowing try/catch blocks.