std::set<Key,Compare,Allocator>::value_comp (3) - Linux Man Pages

std::set<Key,Compare,Allocator>::value_comp: std::set<Key,Compare,Allocator>::value_comp

NAME

std::set<Key,Compare,Allocator>::value_comp - std::set<Key,Compare,Allocator>::value_comp

Synopsis


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


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

Parameters


(none)

Return value


The value comparison function object.

Complexity


Constant.

See also


         returns the function that compares keys
key_comp (public member function)