3 ms·
> You've never used an out-of-bounds index? Accidentally used an object that was on the stack beyond the function call? Let an integer overflow? Can't speak fo
by jandrewrogers 4y ago
> You've never used an out-of-bounds index? Accidentally used an object that was on the stack beyond the function call? Let an integer overflow?
Can't speak for the OP, but I never see any of these bugs in my C++ code. You can write code with these bugs but that is more of a style choice, practically speaking. The C++ bugs I see are almost always in complex state logic or in rarer cases an unexpected/unhandled error case from a call to outside code, which can happen in every language.