Visual studio 2008 release build : application crashes on basic string or basic pointer operations
<p>I have a application compiled in Visual studio 2008,which runs fine in debug build. In release build , the application crashes when std::wstring assignment is done or when shared pointer is accessed. Any idea why this happens in release build.
crash at : 
eg: m_name = name; //m_name and name are of type std::wstring</p>
