Conference | Live Schedule | Talks | Get your ticket | Set your timezone
Pipeline architectures in C++: overloaded pipe operator |, std::expected and its monadic operations
Boguslaw Cyganek
On Day 2 at 13:15 (CET/Berlin) in Track A [Saphir Room and online]
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!
Please login to comment