[#operator_gt-06]
= operator&gt;
:mrdocs:

Greater&hyphen;than operators

== Synopses

Declared in `&lt;pubkey&period;h&gt;`

Check whether the first feerate is strictly higher than the second&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:operator_gt-0c.adoc[operator&gt;](
    xref:ByRatio.adoc[ByRatio] const& a,
    xref:ByRatio.adoc[ByRatio] const& b) noexcept;
----

[.small]#xref:operator_gt-0c.adoc[_» more&period;&period;&period;_]#

Order two public keys lexicographically by their serialized bytes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:operator_gt-0f.adoc[operator&gt;](
    xref:CPubKey.adoc[CPubKey] const& a,
    xref:CPubKey.adoc[CPubKey] const& b);
----

[.small]#xref:operator_gt-0f.adoc[_» more&period;&period;&period;_]#

== Return Value

* True if a&apos;s feerate is higher than b&apos;s&period;
* true if a sorts after b&period;

== Parameters

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


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