Best of 2025

The blog posts Hacker News loved most in 2025. 4,109 posts.

Any topic
3851

`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”).