I just found out that when I search for a map, for example:
std::map<std::string, int> aMap;
The keys I'm looking for begin to form part of the map. In the above value, values ββare stored as zeros. In the case of pointers, it stores values ββas 0 significant pointers
I search with the [] operator, for example:
int a = aMap["some key"];
Can you confirm this? I think I misinterpreted the operator []. Does this task complete ?!
Where can I find the STL documentation about these "features"?
dlsa source
share