Quantcast
Channel: C++ on a Friday » compilation time
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

What I Have Against Precompiled Headers

Precompiled headers is a technique to reduce compilation time when your #includes take a long time. Basically, you stuff all your #includes that rarely change into one single file, which you then...

View Article



Image may be NSFW.
Clik here to view.

Another Reason to Avoid #includes in Headers

I have already argued that you shouldn’t put all your includes in your .h files. Here is one more reason, compilation time. Have a look at this example, where the arrows mean “includes” file5.h...

View Article

Image may be NSFW.
Clik here to view.

How to avoid includes in headers

I have now written twice about why you should minimize the use of include in header files. As one reader on Reddit politely put it (“crap article”), it is about time I write a post about how to do...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images