[#BloombergLP-bslstl-MapComparator-keyComparator-0ec]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/MapComparator.adoc[MapComparator]::keyComparator
:relfileprefix: ../../../
:mrdocs:

Return a reference providing non&hyphen;modifiable access to the function pointer or functor to which this comparator delegates comparison operations&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;mapcomparator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
COMPARATOR const&
keyComparator() const;
----

== Return Value

non&hyphen;modifiable reference to the key comparator


[.small]#Created with https://www.mrdocs.com[MrDocs]#
