can u explain me why in this vector:
Code:
vector<string> v;
string s = "abc";
v.push_back(s);
if i want v[0] to be empty i have to do
Code:
v.clear();
v[0].~string();
and not only one of them?