C++ Algorithms, Boost and function currying | Hacker News Reader