[#bsl-multimap-0ae-key_comp] = xref:bsl.adoc[bsl]::xref:bsl/multimap-0ae.adoc[multimap]::key_comp :relfileprefix: ../../ :mrdocs: Return the key‐comparison functor (or function pointer) used by this multimap; if a comparator was supplied at construction, return its value, otherwise return a default constructed `key_compare` object. Note that this comparator compares objects of type `KEY`, which is the key part of the `value_type` objects contained in this multimap. == Synopsis Declared in `<bslstl_multimap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/multimap-0ae/key_compare.adoc[multimap<KEY, VALUE, COMPARATOR, ALLOCATOR>::key_compare] key_comp() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#