I have just found out that when I search a map like :
std::map<std::string, int> aMap;
the keys I search start to be part of the map. In the case above the values are stored as zeros. In case of pointers it stores the values as 0 valued pointers
I am doing the search with the [] operator, like in :
int a = aMap["some key"];
Can you confirm this ? I think I have misinterpreted the [] operator. Is it doing an assignment ?!
Where can I find STL documentation of these kind of "features" ?