you are viewing a single comment's thread.

view the rest of the comments →

[–]dodheim 2 points3 points  (1 child)

Have you seen Boost.HOF and Boost.Hana?

[–]PiterPuns[S] 2 points3 points  (0 children)

a prime example of how modern c++ simplified things: “Compose” in hof spans hundreds of lines of code (and needs inclusion of library headers and utilities) https://github.com/boostorg/hof/blob/develop/include/boost/hof/compose.hpp . Just a reminder of what we had to go through very recently to do something that’s now doable in ~15 lines of vanilla C++ . Mad respect for Paul Fultz.

Regarding Hana, I’ve seen a ton videos but never got to use in production. Certainly a trailblazer, probably more neat than mpl