Namespaces
Variants
Views
Actions

std::multimap::key_comp

From cppreference.com
< cpp‎ | container‎ | multimap
Revision as of 14:01, 2 November 2012 by P12bot (Talk | contribs)

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

Parameters

(none)

Return value

The key comparison function object.

Complexity

Constant.

See also

returns the function that compares keys in objects of type value_type
(public member function) [edit]