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

Less&hyphen;than operators

== Synopses

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

Orders a prefix before any span that does not start with it&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:wallet/operator_lt-01.adoc[operator&lt;](
    xref:wallet/BytePrefix.adoc[BytePrefix] a,
    std::span&lt;std::byte const&gt; b);
----

[.small]#xref:wallet/operator_lt-01.adoc[_» more&period;&period;&period;_]#

Orders a span relative to a prefix&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:wallet/operator_lt-0a.adoc[operator&lt;](
    std::span&lt;std::byte const&gt; a,
    xref:wallet/BytePrefix.adoc[BytePrefix] b);
----

[.small]#xref:wallet/operator_lt-0a.adoc[_» more&period;&period;&period;_]#

== Return Value

true if `a` orders before `b`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The prefix to compare&period;
| *b*
| The span to compare against&period;
|===


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