Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 3,709 posts.

Programming Languages
Any year
3163

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