3 ms·
The headers are included only in test code which is usually in separate compilation units, so the compile times shouldn't be a problem
by ot 16y ago
The headers are included only in test code which is usually in separate compilation units, so the compile times shouldn't be a problem
- phil_nash 16y agoArguably compilation time of your test code is even more important! You don't want to be kept waiting for feedback in a TDD cycle. I agree that compilation time can be a limiting factor of the header-only approach (actually link time may be the killer). But it's generally easier to give a header-only library support for libs than the other way around. I plan to keep header-only as the default way of using CATCH.