Wednesday 

Room 5 

11:40 - 12:40 

(UTC+02

Talk (60 min)

Creating Composable Callables in Contemporary C++

C++ took a huge step in the direction of composability when Ranges were introduced in C++20. C++23 improved it, and C++26 looks to improve it even more.

C++
Technique

However, function objects, sometimes referred to as Niebloids, after Eric Niebler who pioneered their use in the Ranges library, are still few and rarely composable. With function objects we can send functions, and even complete overload sets, as arguments to other functions, return them, and combine them.

I will show you compositions I want, how to write them and with
gradual scope creep end up with a very powerful set of utilities that are easy to use and require surprisingly little code when using recent additions to the C++ language.

Björn Fahller

Björn is a senior software developer at Net Insight, where he is keen on improving the skills of the teams he works in, by learning, and by sharing knowledge. Björn has worked full time with software development since 1994, mostly for networking products, and primarily in C++. He is the creator of the popular open source C++ libraries, Trompeloeil for mocking, and strong_type for type safety.