0

Updating a map in C++

Is it possible if I have a map declared as map<string,set<tuple<string,int,int>>> to update a set by adding one more tuple to it under the same key value of the map? (So that the set binded to one key value gets one more element) If yes, how do I do that?

17th May 2020, 2:28 AM
ja008
ja008 - avatar
2 ответов
0
Is possible, here a quick example: https://code.sololearn.com/cfbsmDBSo7Sc/?ref=app
17th May 2020, 11:31 PM
Michi
Michi - avatar
0
Michi thank you, that was very helpful
17th May 2020, 11:41 PM
ja008
ja008 - avatar