On Tue, Apr 06, 2004 at 09:03:51PM -0500, Jon Berndt wrote:
I'm not positive, but it seems (roughly) like a vector push_back() operation
causes the d'tor to be called after the first element is stored. To me, this
Yes, if capacity() changes on a resizing operation (like push_back()),
the
Jon Berndt wrote:
I'm not positive, but it seems (roughly) like a vector push_back() operation
causes the d'tor to be called after the first element is stored. To me, this
seems to say that the push_back() operation copies the existing stored
element[s] to a new location (resizing the container)
I'm not positive, but it seems (roughly) like a vector push_back() operation
causes the d'tor to be called after the first element is stored. To me, this
seems to say that the push_back() operation copies the existing stored
element[s] to a new location (resizing the container) and destroys the
I'm not positive, but it seems (roughly) like a vector push_back()
operation
causes the d'tor to be called after the first element is stored. To me,
this
seems to say that the push_back() operation copies the existing stored
element[s] to a new location (resizing the container) and destroys