我正在寻找一种在 C++ 中创建多维 map 的方法。它会是这样的:
["Key1"]
["SubKey1"] = "Value"
["SubKey2"] = "Value"
["Key2"]
...
最佳答案
你可以使用一个
std::map<std::string, std::map<std::string, std::string>>
关于c++ - 无论如何有一个多维 map ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26117693/