Introduction| The Sparkelling Bedangler
A few years ago, I decided to implement splaysort in my sorting algorithms library, cpp-sort. The algorithm turned out to be deceiptively simple from a high-level point of view:| The Sparkelling Bedangler
Ramblings about programming and related topics. Might go other places in the future.| The Sparkelling Bedangler
std::flip is a little-known utility from the C++ standard library header : it is a higher-order function that accepts a Callable and returns an equivalent Callable with the order of its parameters reversed (or “flipped”).| The Sparkelling Bedangler