#include <map> key_compare key_comp() const;
The function key_comp() returns the function that compares keys.
key_comp() runs in constant time.