Less-than operators
Declared in <wallet/db.h>
Orders a prefix before any span that does not start with it.
bool
operator<(
BytePrefix a,
std::span<std::byte const> b);
» more...
Orders a span relative to a prefix.
bool
operator<(
std::span<std::byte const> a,
BytePrefix b);
» more...
true if a orders before b.
| Name | Description |
|---|---|
| a | The prefix to compare. |
| b | The span to compare against. |