4 ms·The proper place to put those checks is before the undefined behavior would be invoked, not after.by jjnoakes 9y agoThe proper place to put those checks is before the undefined behavior would be invoked, not after.