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

`keyComparator` overloads

== Synopses

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
COMPARATOR&
xref:BloombergLP/bslstl/SetComparator/keyComparator-008.adoc[keyComparator]();
----

[.small]#xref:BloombergLP/bslstl/SetComparator/keyComparator-008.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
COMPARATOR const&
xref:BloombergLP/bslstl/SetComparator/keyComparator-00b.adoc[keyComparator]() const;
----

[.small]#xref:BloombergLP/bslstl/SetComparator/keyComparator-00b.adoc[_» more&period;&period;&period;_]#


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