std::set::value_comp

From cppreference.com
< cpp‎ | container‎ | set

std::set::value_compare value_comp() const;

Returns the function object that compares the values. It is the same as key_comp.

Contents

[edit] Parameters

(none)

[edit] Return value

The value comparison function object.

[edit] Complexity

Constant.

[edit] See also

returns the function that compares keys
(public member function)