unordered_map :: find()の機能は、0の値でルックアップするキーを自動的に挿入することですか?これをはっきりさせておきます
unordered_map<int, int> tempMap;
//some code
if(tempMap.find(1) == tempMap.end()){
//do something but not insert the 1 with a corresponding value into the tempMap
}
したがって、もう一度1を検索すると、対応する値として0を持つtempMapに表示されますか。それはunordered_mapの機能ですか?