title: Compiling a C++ .lib with only header files?
body: <p>I'm compiling a C++ static library and as all the classes are templated, the class definitions and implementations are all in header files. As a result, it seems (under visual studio 2005) that I need to create a .cpp file which includes all the other header files in order for it to compile correctly into the library.</p>
  
  <p>Why is this?</p>