Getting tuple elements with a runtime index in C++ | Hacker News Reader