Possible Duplicate:
Template instantiation details of GCC and MS compilers
How does a C++ compiler facilitate template programming? I am interested in knowing the scheme that the compiler follows in template programming.
Also, what is/are the difference(s) between typename and class in terms of C++ template?