Blogs / Personal blogs

Morwenn

morwenn.github.io

Ramblings about programming and related topics. Might go other places in the future.

Popular posts
1
Total points
108
HN comments
112
Rank
#20,238 personal

Visit morwenn.github.io → RSS feedOn Hacker News Sep 2025 – Sep 2025

Software Engineering 1Programming Languages 1

1

`std::flip`

std::flip is a little-known utility from the C++ standard library header <functional>: it is a higher-order function that accepts a Callable and returns an equivalent Callable with the order of its parameters reversed (or “flipped”).