3 ms·
With GCC/clang you can write an ASSERT/ASSUME macro that does this. Basically: if (!cond) __builtin_unreachable();
by variadix 3y ago
With GCC/clang you can write an ASSERT/ASSUME macro that does this.
Basically: if (!cond) __builtin_unreachable();