How to defer expanding a parameter pack?

I was toying around with tuples. I wanted to zip an arbitrary number of tuples. There is probably a better way to do that than what I came up with, but my solution led me to a problem that is interesting in itself. Sometimes, you want to expand one parameter pack at a time, and… Read More How to defer expanding a parameter pack?

Fold expresion & CRTP

I’m writing this small application trying to test about fold expressions and i can’t get it to compile, it complaints about ambiguous request on method Play, i don’t understand why the signature of the function Play should be different on both calls.. #include <iostream> #include <any> using namespace std; struct A { void play() const… Read More Fold expresion & CRTP