#include#include
#includeIn this example, we check if "Mary" is in the map using the find() function. If the iterator returned by the find() function is not equal to the end() iterator, then the element is in the map. Otherwise, it is not. Package library: std#include