In the context of this discussion, I took "compiling" to mean "turn C++ source code into machine code". Of course every transformation from one code representation to another may be called compiling....
Type: Posts; User: CornedBee
In the context of this discussion, I took "compiling" to mean "turn C++ source code into machine code". Of course every transformation from one code representation to another may be called compiling....
I have never heard of a compiler/linker that actually recompiles anything during linking. All LTO systems that I know instead compile the code to some intermediate representation and dump that to the...
C++ headers tend to be heavier due to templates. Check out Doug Gregor's talk on Modules at the LLVM Developer's Conference for some numbers.
As I said, I've often enough seen incremental builds (i.e. recompiling only what changed) take too long. And if you change your unit test system to make the compiles even more minimal (say, by...
Build time is most certainly not irrelevant. There is the whole module effort going on right now, which is somewhat about avoiding the pitfalls of the preprocessor, but mostly about reducing compile...
That very macro has caused a lot of hard-to-find bugs over the years.
int highestInsertPosition = 0;
for (auto item : items) {
highestInsertPosition = Max(highestInsertPosition,...