C++ template which prints a type of a variable.