2 ms·
> Wouldn't it be safer just to trigger a panic or something? Tradeoffs. The panic can result in a lot of code generation which in turn makes the reachable path
by bluGill 4y ago
> Wouldn't it be safer just to trigger a panic or something?
Tradeoffs. The panic can result in a lot of code generation which in turn makes the reachable paths slower. Sure we are talking nanoseconds, but this is C++, if performance isn't important you shouldn't be using C++.