[#XOnlyPubKey-operator_lt]
= xref:XOnlyPubKey.adoc[XOnlyPubKey]::operator&lt;
:relfileprefix: ../
:mrdocs:

Order two x&hyphen;only pubkeys by their key data&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
operator&lt;(xref:XOnlyPubKey.adoc[XOnlyPubKey] const& other) const;
----

== Return Value

true if this key sorts before other&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The pubkey to compare against&period;
|===


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