wallet::operator<

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);
» more...

Orders a span relative to a prefix.

bool
operator<(
    std::span<std::byte const> a,
    BytePrefix b);
» more...

Return Value

true if a orders before b.

Parameters

NameDescription
aThe prefix to compare.
bThe span to compare against.