| ▲ | feverzsj 4 days ago | |
Yes, if you actually care compile times. | ||
| ▲ | RossBencina 4 days ago | parent | next [-] | |
Indeed. I primarily used PIMPL when I want to avoid polluting public header files with implementation detail #includes in cases where forward declarations are impossible or unwieldy and inline methods are irrelevant. | ||
| ▲ | einpoklum 4 days ago | parent | prev | next [-] | |
My approach to reducing the compile time of code which uses a class is moving the functionality out of the class and into standalone functions; or at least moving the method definitions into a non-header `.cpp` file. | ||
| ▲ | otabdeveloper4 4 days ago | parent | prev [-] | |
Lucky for you, I don't. | ||