~/talk

Monadic Operations in Modern C++: A Practical Approach

Talkat CppCon 2024 · on Thursday, 2024-09-19· at 16:45· Adams A, 6700 North Gaylord Rockies Boulevard· [machine-learning]
links:none on file
slides:none on file

C++23 std::optional and std::expected plus ranges and a year of real use in a commercial internal library drive concrete advice: UI subsystem for the reMarkable ink tablet uses these for error handling and interface unification, with about 30 third‑party packages and occasional TL expected when toolchains lag. Examples show bottom‑up refactoring, splitting pure and impure code boundaries for Qt QML integration, using bind_back/front, transform_error, fewer large lambdas, and measurable performance tradeoffs — the approach works in production.

AI-written summary · about

  1. 0:00Introduction
  2. 0:29Agenda and framework context
  3. 2:24Project UI subsystem
  4. 4:20Technologies and Qt context
  5. 6:07Introduction to std::optional
  6. 8:56Introduction to std::expected
  7. 11:41Procedural error handling
  8. 14:35Monadic operations
  9. 17:50Advanced monadic operations
  10. 21:17Team adoption strategy
  11. 25:05Design for functional integration
  12. 29:39Qt integration example
  13. 31:44Gradual refactoring techniques
  14. 35:19Tips for reducing complexity
  15. 40:18Using bind_back and bind_front
  16. 46:07Final practical tips
  17. 50:09Q&A and conclusion
~/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.