unordered_map find code example
Example: unordered_map find
unordered_map um;
um[12] = true;
um[6789] = false;
um[456] = true;
// Searching for element 23
if (um.find(23) == um.end())
cout << "Element Not Present\n";
else
cout << "Element Present\n";