3 ms·
Regarding the last items: Just use clang. Its constexpr support is much better, and you can print user-defined compile-time warnings or errors with diagnose_if
by rurban 9y ago
Regarding the last items: Just use clang.
Its constexpr support is much better, and you can print user-defined compile-time warnings or errors with diagnose_if. gcc only has _Static_assert which is not enough.
The linux kernel uses a few tricks, but all are worse than with clang.