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

Create a `SetComparator` object holding a copy of the specified `keyComparator`&period;

== Synopsis

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

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


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