using line_nm = vector<string>::size_type;
map<string, set<line_nm>> m;
On the above code, why can't I use the code below?
map<string, set<vector<int>>> m1;
Test:
string str;
word[str].insert(5);
I got an error when I am using "m1" version.
Aucun commentaire:
Enregistrer un commentaire