|
|
|
|
|
by gumby
814 days ago
|
|
I don't think of pimpl as a tool for speeding up compilation, but for black box encapsulation. If the compile time (when adding a method) is really an issue you can chop up and reconfigure your include files. A pain, but perhaps saves you time in the long run. Of course (waves hands) modules will magically improve things...someday. |
|
Haven't you ever seen someone do
in lieu of just including "thing.h"? I see it frequently in real life code bases and I can't see a reason for it other than compilation time optimisation.