I want to have a map that uses
like this:
std::map<std::string, SOME TYPE> myMap; myMap["first_key"] = 10; myMap["second_key"] = "stringValue";
What is the SIMPLEST way to do such thing?
Aucun commentaire:
Enregistrer un commentaire