Writing a custom iterator in modern C++ | Hacker News Reader