Примеры ошибок, обнаруженных с помощью диагностики V662
V662. Different containers are used to set up initial and final values of iterator. Consider inspecting the loop expression.
Rhino (JavaScript engine)
V662 Consider inspecting the loop expression. Different containers are utilized for setting up initial and final values of the iterator. aosconfiguration.cpp 93
MAP_LOCALE_DIRS m_LocaleStaticDirs;
MAP_LOCALE_DIRS m_LocaleDataDirs;
void AOSConfiguration::debugDump(....) const
{
....
for (AOSConfiguration::MAP_LOCALE_DIRS::const_iterator
cit = m_LocaleStaticDirs.begin();
cit != m_LocaleDataDirs.end();
++cit)
....
}