Less‐than operators
Synopses
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);
Orders a span relative to a prefix.
bool
operator<(
std::span<std::byte const> a,
BytePrefix b);
Return Value
true if a orders before b.
Parameters
Name |
Description |
a |
The prefix to compare. |
b |
The span to compare against. |
Created with MrDocs