Functional programming in C++ is gaining importance and is attracting programmers. One of its most characteristic patterns is composition of functions in the form of a pipeline pattern. Since C++20 we can use the ranges library with its characteristic function composition abilities thanks to the overloaded pipe operator.
In this talk we’ll show how to implement a custom pipeline framework that employs std::expected, available since C++23. We’ll overload our own pipe operator, as well as we’ll explain std::expected and especially its monadic operations that can be tricky in practice. All these together present new programming paradigms in C++.
Everyone is welcome!