Original Post
Does anybody have an idea why i can't do this?
The compiler says that "second" is not an element of
void CResourceManager::ReleaseAll()
{
std::map<int, int>::iterator iter;
for(iter = m_References.begin(); iter != m_References.end(); ++iter)
{
while(iter.second)
Release(iter.first);
}
}
'_Rb_tree_iteratorI am using STLPort. Thanks for any help. [edited by - Hazelnuss on May 28, 2003 11:51:45 AM] [edited by - Hazelnuss on May 28, 2003 11:52:17 AM] [edited by - Hazelnuss on May 28, 2003 11:52:47 AM],struct _STL::_Nonconst_traits > >'