Archived

This topic is now archived and is closed to further replies.

vector<string> _tidy?

This topic is 4942 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I get an unhandled exception in the _tidy method when a vector is being destroyed. I used push_back to add a string, assuming that the vector will be destoyed by the system and no explicit clean up is required, this exception I dont quite understand. How can I explictly delete a vector?

Share this post


Link to post
Share on other sites
you aren't creating the vector dynamically with the 'new' keyword correct? That really is the only reason I can think of as to why one should need to deallocate one manually. Otherwise, your problem might be something else.

[edited by - nervo on May 30, 2004 11:12:44 PM]

Share this post


Link to post
Share on other sites