3 ms·
Not a C++ monkey but headers in C/C++ have the problem that you can't parse them independently of the source file they are included in because of the predecesso
by Gibbon1 7y ago
Not a C++ monkey but headers in C/C++ have the problem that you can't parse them independently of the source file they are included in because of the predecessor. Which means you need to re-parse them each and every time they are included in a project.
- celticmusic 7y agoI think you meant preprocessor, not predecessor, lol. I had to reread that a time or two. I knew what you were trying to say and I still got confused by it.
- Gibbon1 7y agod'oh!
- shakna 7y agoHowever, every modern C compiler and tools like cmake allow you to use precompiled headers to avoid that step if it is what you want to do.