Using the stdl::vector class you can use two sorts of iteration over the vector:
the .begin and .end way
GlifPtrVec_t::iterator Iter ;
for (Iter = m_Array.begin() ; Iter != m_Array.end() ; Iter++) {
CGlif* pGlif = *Iter ;
delete pGlif ;
}
or one I am more used to:
for (i = 0 ; i < m_Array.size() ; i++)
delete m_Array
are they both valid or should one be used in certain situations or...?