This question is just out of curiosity. In recursive templates if we forget to put one particular specialization, then compiler will do large number of iterations and then s
Getting the parser into an infinite loop using template is not new.
// Stresses the compiler infinitely // from: http://www.fefe.de/c++/c%2b%2b-talk.pdf template struct Loop { Loop operator->(); }; Loop i, j = i->hooray;