3 ms·
Yes, if you actually care compile times.
by feverzsj 3mo ago
Yes, if you actually care compile times.
- RossBencina 3mo agoIndeed. 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 3mo agoMy 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 3mo agoLucky for you, I don't.