cppreference.com > C++ Sets > value_comp
value_comp
Syntax:
  #include <set>
  value_compare value_comp() const;

The value_comp() function returns the function that compares values.

value_comp() runs in constant time.