Click here to Skip to main content
12,501,683 members (59,115 online)
Click here to Skip to main content

Tagged as

Stats

6.5K views
1 bookmarked
Posted

Improve compile times with forward declarations

, 2 Mar 2010 CPOL
Header files often #include lots of other headers because other classes are being referenced. These chained includes force the compiler to repeatedly load and precompile long lists of headers over and over again. Thanks to #pragma directives or #ifdef guards this is a rather cheap operation,...

Revisions


  

Compare Revision Minor Date Status Editor
1 - publicly available No 2-Mar-10 8:52 Available Stefan_Lang

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Stefan_Lang
Software Developer (Senior)
Switzerland Switzerland
Graduated at TU Darmstadt in Math & CS, with a heavy focus on CAD/CAM

Programming and designing applications in C++ in the areas AI, real-time programming, client-server applications and CAD/CAM since 1985.

Personal interests: AI, computer graphics, games, reading

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160919.1 | Last Updated 2 Mar 2010
Article Copyright 2010 by Stefan_Lang
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid