destroying object in vector when new object added

Posted by iSight on Stack Overflow See other posts from Stack Overflow or by iSight
Published on 2010-05-14T13:31:07Z Indexed on 2010/05/14 13:34 UTC
Read the original article Hit count: 148

Filed under:

Hi,

When push_back method of vector is called the previous object in the vector is getting destroyed what might be the reason for this.

© Stack Overflow or respective owner

Related posts about c++