Q
qfel
If new pair is inserted into std::map through operator[], is default value
for build-in types equal to 0?
eg.
std::map<std::string,bool> m;
bool b=m["not existing key"];
will b equal to false, or will it contain undefined value?
for build-in types equal to 0?
eg.
std::map<std::string,bool> m;
bool b=m["not existing key"];
will b equal to false, or will it contain undefined value?