[#node-IteratorComparator-operator_call]
= xref:node.adoc[node]::xref:node/IteratorComparator.adoc[IteratorComparator]::operator()
:relfileprefix: ../../
:mrdocs:

Order two map iterators by their key&period;

== Synopsis

Declared in `&lt;node&sol;mini&lowbar;miner&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename I&gt;
bool
operator()(
    I const& a,
    I const& b) const;
----

== Return Value

True if the key of `a` orders before the key of `b&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The first iterator to compare&period;
| *b*
| The second iterator to compare&period;
|===


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