把map传进DLL中,为何不能使用itor++?
bdove 2007-04-04 10:36:19 TMap::iterator itor = NULL;
for(itor = pMap->begin(); itor != pMap->end(); )
{
char* pData = itor->second;
int a = itor->first;
itor++;
}
用find查找的数据能正常使用,查看map中的数据,正常。
而且把dll中生成的map传出,在DLL外能正常使用itor++!
谁能帮忙解决在DLL内部,不能itor++问题?