std::pair map_data[] = { std::make_pair(1, "a"), std::make_pair(2, "b"), std::make_pair(3, "c") }; std::map my_map(map_data, map_data + sizeof map_data / sizeof map_data[0]);
No comments:
Post a Comment