stl:map:value_comp

C++ Reference

value_comp

Syntax:

    #include <map>
    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