Hello,
Anybody knows how to concat these two map:
map<string, map<string,string>> map1;
map<string, map<string,string>> map2;
I just want to add map2
to map1
and keep all elements already in map1 i.e. add map2 at the end of map1.
I'v tried map1.insert(map2.begin(), map2.end()) but it does not work since it overwrites old elements in map1.
thx, /Niklas