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.

Related Topics: key_comp