|
-
February 1st, 2006, 01:24 PM
#16
Re: std::vector simple scope question
 Originally Posted by Oliver M.
But be honest: how many compilers and systems do you know where the memory is neither sweeped in debug mode nor the access of an unallocated memory causes a GPF or the deletion (we talk about c++ here?) is delayed? Ok, maybe here are the 1%...
This is not something that occurs very often ( indeed this is the 1%) but when it does it is really difficult to find.
Ah, and I believe that there are other means of finding a bug like this than looking at 500K lines of code
Yes, there are, but hopefully this small trick will trigger the alarm when you are confident that everything is running smoothlly.
Last edited by PadexArt; February 1st, 2006 at 01:25 PM.
Reason: typo
Har Har
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|