X-macro driven C++ template class instantiation

I am trying to instantiate a templatized class based on an X-macro. However, this is giving me syntax errors error: wrong number of template arguments (0, should be 1). What is the correct way to instantiate a templatized class from an x-macro? #include <string.h> #include <iostream> #define FOO \ X(, aaa) \ X(int, bbb) \… Read More X-macro driven C++ template class instantiation