Beispiel #1
0
 void x_GC(void) {
     if ( m_SizeLimit ) {
         while ( size() > m_SizeLimit ) {
             m_Map.erase(m_RemoveList.front());
             m_RemoveList.erase(m_RemoveList.begin());
         }
     }
 }
Beispiel #2
0
 void erase(iterator iter) {
     m_RemoveList.erase(iter.m_Iter->m_RemoveListIter);
     m_Map.erase(iter.m_Iter);
 }