3 ms·
Honest question : what's the difference between the two? I assume assert also checks conditions at runtime?
by runeks 3y ago
Honest question : what's the difference between the two?
I assume assert also checks conditions at runtime?
- lionkor 3y agoNot in release builds
- tonyedgecombe 3y agoWhich can catch the unwary out, for instance if you do something like this it won't decrement index in your release build: assert(--index >= 0);