目录
增,查使用实例:
map<int, std::vector<int>> size_dict;
for (int j = 0; j < 2; j++) {
vector<int> tmp_group;
for (int i = 0; i < 5; i++) {
tmp_group.push_back(5 * j + i);
}
for (int i = 0; i < 5; i++) {
size_dict.insert(make_pair(5 * j + i, tmp_group));
}
}
int user_name = 2;
map<int, std::vector<