3 ms·
> EDIT: ironically modules (as a concept) would (could?) solve the header problem, but they've not exactly been a success story so far. Because they are little
by TuxSH 1y ago
> EDIT: ironically modules (as a concept) would (could?) solve the header problem, but they've not exactly been a success story so far.
Because they are little different from precompiled headers. Import std; may be nice, but in a large project you are likely to have your own defines.hpp file anyway (that is going to be precompiled for double-digits compile times reduction).
Ironically too, migrating every header in an executable project to modules might slow down build times, as dependency chains reduce the parallelism factor of the build.