std::set<Key,Compare,Allocator>::key_comp (3) - Linux Manuals
std::set<Key,Compare,Allocator>::key_comp: std::set<Key,Compare,Allocator>::key_comp
NAME
std::set<Key,Compare,Allocator>::key_comp - std::set<Key,Compare,Allocator>::key_comp
Synopsis
key_compare key_comp() const;
Returns the function object that compares the keys, which is a copy of this container's constructor argument comp. It is the same as value_comp.
Parameters
(none)
Return value
The key comparison function object.
Complexity
Constant.
See also
value_comp (public member function)