CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 21

Threaded View

  1. #16
    Join Date
    Aug 2002
    Location
    Cluj-Napoca,Romania
    Posts
    3,496

    Re: std::vector simple scope question

    Quote 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
  •  





Click Here to Expand Forum to Full Width

Featured