#8 Vector<T>::push_back() don't really push element in

open
nobody
None
5
2012-05-20
2012-05-20
Apango
No

The variable sze don't change after a element has been add in the Vector<T>. So whenever push_back() is used, the element is always put into the last position of the Vector, replace the former one on this position, but not extend the vector.

Discussion

  • Apango
    Apango
    2012-05-20

    the patch for PLib::Vector<T>::push_back())

     
    Attachments