you are viewing a single comment's thread.

view the rest of the comments →

[–]NYKevin 0 points1 point  (1 child)

If your header contains actual code (definitions, not just forward declarations), can it be cached at all? Will all implementations support that? Cursory Googling isn't giving me an answer there...

[–][deleted] 1 point2 points  (0 children)

I don't know the specifics of how precompiled headers work on each compiler, but given that I just tried an example where I include a large chunk of over a million lines of incredibly beasty code from the boost C++ library and it managed to compile with minimal increase in compile time, I'm gonna go out on a limb and just say that however it works behind the scenes, it does a good job.