4 ms·
Yep, well-defined in C++, but the resulting out-of-bounds accesses and all that are not well-defined.
by tines 5y ago
Yep, well-defined in C++, but the resulting out-of-bounds accesses and all that are not well-defined.
- schemescape 5y agoThanks. I should look at the code. I thought unsigned int overflow would wrap to zero, which would still be in bounds for a nontrivial array. Maybe they’re freeing the item at that index the first time through the array or something.