Original link: Implementing a recursion-free tuple in C++ / LinkedIn / Patrick Urbanke.
The code on Github look rather complex to me (read: more complex than my limited skills in modern C++).