[#BloombergLP-bslstl-SetComparator] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::SetComparator :relfileprefix: ../../ :mrdocs: == Synopsis Declared in `<bslstl_setcomparator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY, class COMPARATOR> class SetComparator; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/SetComparator/NodeType.adoc[`NodeType`] | This alias represents the type of node holding a `KEY` object. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/SetComparator/2constructor-0f.adoc[`SetComparator`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bslstl/SetComparator/keyComparator-07.adoc[`keyComparator`] | `keyComparator` overloads | xref:BloombergLP/bslstl/SetComparator/operator_call-0b1.adoc[`operator()`] | Function call operators | xref:BloombergLP/bslstl/SetComparator/swap.adoc[`swap`] | Efficiently exchange the value of this object with the value of the specified `other` object. This method provides the no‐throw exception‐safety guarantee. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/swap-0a.adoc[`swap`] | Efficiently exchange the values of the specified `a` and `b` objects. This function provides the no‐throw exception‐safety guarantee. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#