I have a vector with 1000 \"nodes\"
if(count + 1 > m_listItems.capacity()) m_listItems.reserve(count + 100);
The problem is I also
You could try this technique from here
std::vector< int > v; // ... fill v with stuff... std::vector< int >().swap( v );