initializing map from vector c++ code example
Example: how to initialize map in c++
std::map<std::string,std::string> my_map = {
{"key1","value1"},
{"key2","value2"}
};
std::map<std::string,std::string> my_map = {
{"key1","value1"},
{"key2","value2"}
};