[#BloombergLP-bslstl-SetComparator-keyComparator-008]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SetComparator.adoc[SetComparator]::keyComparator
:relfileprefix: ../../../
:mrdocs:

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

== Synopsis

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

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

== Return Value

modifiable reference to the delegated comparator


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