do not click

Meeting C++ 2025   |  Online   |  Training   |  Books   |  Survey   |  Job fair   |  Advertising   |  Jobposting   |  Login

Meeting C++ 2025 - Monadic Operations in C++23

Conference | Live Schedule | Talks | Get your ticket | Slides | Set your timezone

Monadic Operations in C++23

Join session

Robert Schimkowitsch

On Day 1 at 16:00 (CET/Berlin) in Track C [Jade Room and online]

Let's talk about monads. How do they work? Why and how would you use them?

The aim of this talk is to introduce some fundamental functional programming techniques (such as monads) and explain how they make your code safer and more readable.
Using C++20 and 23 features, multiple classic condition- and loop-based code examples are transformed into a more functional, declarative form. The resulting code is less complex, has less duplication and a lower likelihood of containing bugs.

The talk is intended for anyone who would like to learn about functional programming techniques and add new tools to their code design toolbox. After it, you will

- Have an idea how functors and monads work
- Know multiple ways to pass callables to them
- Confidently use std::views::transform and std::views::join, std::optional and std::expected
- Know about some some common pitfalls and how to avoid them

Being able to read basic C++ code is recommended.

Please login to comment

Copyright Meetingcpp GmbH Imprint Privacy Policy