This question is perhaps somehow odd, but how can I speed up g++ compile time? My C++ code heavily uses boost and templates. I already moved as much as possible out of the h
Try the PIMPL technique, this question: What techniques can be used to speed up C++ compilation times?
It'll prevent the compiler from following the chain of header files and implementations every time you need to do something.