I much prefer
for (auto map : hashMaps) ...
over
for(unordered_map<string, unordered_set<string>> map : hashMaps)
though. Shame they didn't name it "var" like in many other languages, auto just reminds me of cars.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments