int main(int argc, char* argv[]) { std::map<std::string, std::vector<std::string> > r; r[argv[0]].push_back("Value"); }