The Wayback Machine - https://web.archive.org/web/20160319221128/http://en.cppreference.com/w/cpp/container/map/key_comp
Namespaces
Variants
Views
Actions

std::map::key_comp

From cppreference.com
< cpp‎ | container‎ | map
key_compare key_comp() const;

Returns the function object that compares the keys, which is a copy of this container's constructor argument comp.

Contents

[edit] Parameters

(none)

[edit] Return value

The key comparison function object.

[edit] Complexity

Constant.

[edit] See also

returns the function that compares keys in objects of type value_type
(public member function) [edit]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.