title: Visual Studio 2008 Release Hell
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/12800777/visual-studio-2008-solution-release-version-runtime-fatal-error">visual studio 2008 solution release version runtime fatal error</a>  </p>
  </blockquote>
  
  
  
  <p>I have a Visual Studio 2008 solution which works fine in debug mode, but fails in release mode. I found out that I have a variable devicleList of type std::vector where 'device' is a structure. I tried deviceList.clear() and stepped into clear() function, but it appeared that the function doesn't know anything about deviceList.begin() and deviceList.end(). Watch window shows only '???' for any field of these pointers. And at last I got fatal error. As I know, std::vector default constructor initializes objects of this type by default. So, where could the problem be? Thanks.</p>