4 ms·
I'm not sure the number of bugs actually encountered by users would decrease if everyone started using size_t tomorrow. What value is more likely to be found: I
by gnachman 12y ago
I'm not sure the number of bugs actually encountered by users would decrease if everyone started using size_t tomorrow. What value is more likely to be found: INT_MAX+1 or -1? Even something simple like iterating backwards over a string is bug-prone with unsigned types.