Function Composition Arc: C++17 -> C++20 -> C++23
For those that may be interested, I took a piece of educational code written years ago that composes an arbitrary number of functions and showed how to evolve it to take advantage of modern C++ features using ranges and functional programming.
https://freshsources.com/code-capsules/composing-functions/
https://redd.it/1u88oe5
@r_cpp
Post #25446
56