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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class KEY,
    class VALUE,
    class COMPARATOR&gt;
class MapComparator;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/MapComparator-0d/NodeType.adoc[`NodeType`] 
| This alias represents the type of node holding a `ValueType` object&period;
| xref:BloombergLP/bslstl/MapComparator-0d/ValueType.adoc[`ValueType`] 
| This alias represents the type of the values held by nodes in an `bslalg&colon;&colon;RbTree` object&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/MapComparator-0d/2constructor-08.adoc[`MapComparator`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bslstl/MapComparator-0d/keyComparator-05.adoc[`keyComparator`] 
| `keyComparator` overloads
| xref:BloombergLP/bslstl/MapComparator-0d/operator_call-00f.adoc[`operator()`] 
| Function call operators
| xref:BloombergLP/bslstl/MapComparator-0d/swap.adoc[`swap`] 
| Efficiently exchange the value of this object with the value of the specified `other` object&period; This method provides the no&hyphen;throw exception&hyphen;safety guarantee&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/swap-015.adoc[`swap`]
| Efficiently exchange the values of the specified `a` and `b` objects&period; This function provides the no&hyphen;throw exception&hyphen;safety guarantee&period;
|===


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