Is it possible in C++ to stringify template arguments? I tried this:
#define STRINGIFY(x) #x template struct Stringify { Stringify()
You could try
typeid(T).name()
Edit: Fixed based on comments.