how to retreive the list values to a map which contains the details that are stored in map.Once after the push back i have the list of maps inside the list.
my List is declared like std::list<std::map<const std::string,std::string>> myList and map is declared as : std::map<const std::string,std::string>mapLine
Now the list contains details of map like below: myList<<mapLine1>,<mapLine2>....etc>
so How do I take out the mapLine1 which is in the myList and fill into another map called mapLine2
mapLine2 is declared as std::map<const std::string,std::string> mapLine2
please dont remove or mark this question as invalid
Aucun commentaire:
Enregistrer un commentaire