C++ has template templates. I'm not sure how to achieve the same effect where (in example below) the template function myVariadic is passed to another function.

        void myVaridatic(A...)(A a) {}

        static void call(alias F,A...)(F f,A a) {
            f(a);
        }

        void foo() {
            call(myVaridatic,1,2,3);
        }

Reply via email to