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

Compare two outputs by value&period;

== Synopsis

Declared in `&lt;wallet&sol;coinselection&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
operator()(
    std::shared&lowbar;ptr&lt;COutput&gt; const& a,
    std::shared&lowbar;ptr&lt;COutput&gt; const& b) const;
----

== Return Value

True if &ast;a sorts before &ast;b&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| First output pointer&period;
| *b*
| Second output pointer&period;
|===


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