Reputation: 1
I'm looking for a way to have a multi dimensional map in C++. It would be something like :
["Key1"]
["SubKey1"] = "Value"
["SubKey2"] = "Value"
["Key2"]
...
Upvotes: 0
Views: 267
Reputation: 21368
You can use a
std::map<std::string, std::map<std::string, std::string>>
Upvotes: 2