std::optional
summary
A 20 or 30 second lightning talk demonstrates that adding a monads‑style interface simplifies handling a present or absent value in std::optional. The demo shows an empty and a full std::optional, contrasts verbose conditional plumbing with a compact monadic composition, and claims the monadic approach is clearer. Slides and source code live on the CppCon2018 GitHub so the exact examples and code transformations can be inspected.
AI-written summary · about
related talks
09mstd::optional and the m word
05mMaking optional optional
58mThe Imperatives Must Go! [Functional Programming in Modern C++]
01h 01mApplicative: The Forgotten C++ Functional Pattern
01h 02mOption(al) is not a failure
55mMonadic Operations in C++23
44mThis is why we can('t) have nice things
02mLightning Talk: Wisdom in Keywords
