c++ - Remove compiler-specific code from boost headers -


it seems lot of code in boost compiler-specific workarounds or different paths different compilers (especially in components mpl). build time increases lot when use boost, when try hide big parts behind compiler-firewalls (pimpl) or use precompiled headers.

is there way pre-process boost headers 1 compiler i'm using? suspect makes headers (significantly?) smaller have impact. has ever tested whether give speed improvements?

no idea whether matters actual answer, i'm using visual studio 2010 primarily.

if use precompiled headers, preprocessing headers on steroids. if pch won't make difference, there nothing can will.

the compile time comes excessive including or complex template instantiations, not size or complexity of preprocessor.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -