It returns the key equivalence comparison predicate used by the unordered_set container.
Following is the declaration for std::unordered_set::key_eq.
key_equal key_eq() const;
none
It returns the key equality comparison object.
Exception is thrown if any element comparison object throws exception.
Please note that invalid arguments cause undefined behavior.
constant time.