std::map default value for build-in type
- by Qifa Zhao
Recently, I was confused by the std::map operator[] function.
In the MSDN library, it says: "If the argument key value is not found, then it is inserted along with the default value of the data type."
I tryed to search much more exactly explanation for this issue. For example here:
std::map default value
In this page, Michael Anderson said that…