I am creating an external library for general use. What Im asking is should I put every class in just .hpp files like boost does or should I compile it into a lib file and keep the two file per class rule. As far as I can see .hpp is used for speed, so you don’t have to add a .lib for every class or a massive one for the whole thing and for cross-platform.
[edit] Whats your personal preference and why. My library would just be for my personal use.
[edit] For statically linking the library
This really depends on if you have cross-platform or templated code. You may not have an awful lot of choice about making the majority in header files if you need a lot of preprocessing to generate it. Otherwise, you should pre-compile as much as possible, as a general rule.