How to implement a constant-expression counter in C++ | Dark Hacker News