That is, if vector<vector<string> > con; , then con.clear(); will clear all elements and their vectors with strings or will there be a memory leak?
vector<vector<string> > con;
con.clear();
Yes, it deletes, and at the same time, the root vector will cause the destructors of the member objects it has stored.
Source: https://ru.stackoverflow.com/questions/384078/More articles:CreateView does not work correctly when loading a file, why?Press the button againJavascript layersEmail form does not work (html + php)YouTube Counter QuestionHow to specify the file upload folder in the xupload extension in yii?How to read a folder?Parsing xml from directoryRails NC implementationIncorrect addition to DBAll Articles