ShortestVectorFirstComparator::operator()

Compare two byte vectors, shorter ones ordering first.

Synopsis

Declared in <script/signingprovider.h>

bool
operator()(
    std::vector<unsigned char> const& a,
    std::vector<unsigned char> const& b) const;

Return Value

True if a orders before b.

Parameters

NameDescription
aThe left-hand byte vector.
bThe right-hand byte vector.