C++ template style

C++ template style. This is tricky way that evaluating all 100 of fizzbuzz in compiling.