4 ms·
But when you do need generics and use templates, you are forced to write lots of code in .h files. There is very little you can do in that case to speed up buil
by karterk 11y ago
But when you do need generics and use templates, you are forced to write lots of code in .h files. There is very little you can do in that case to speed up build times, without resorting to devious things like PIMPL.
- gpderetta 11y agoUnfortunately, even PIMPL won't help with templated code, unless you resort to manual template instantiation which is tedious.