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