KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a map filled with and now I want to delete the memory completely. How do I do this right? couldn't find anything specific for this topic, sorry if it is already answered... my code is something like this: for(std::map<short,std::string>::iterator ii=map.begin(); ii!=map.end(); ++ii) { delete ⅈ } But it doesnt work. Can anybody help pls? regards, phil
Tags (comma-separated)
Save Edits
Cancel