[#operator_lt-04] = operator< :mrdocs: Orders two inventory entries by type and then by hash. == Synopsis Declared in `<protocol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator<( xref:CInv.adoc[CInv] const& a, xref:CInv.adoc[CInv] const& b); ---- == Return Value true if `a` sorts before `b` by type and then by hash. == Parameters [cols="1,4"] |=== | Name| Description | *a* | The left‐hand inventory entry. | *b* | The right‐hand inventory entry. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#