C++: Experiments in partition and remove | Hacker News Reader