[#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); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:CInv.adoc[CInv], declared only inside that class: it can be found only through argument-dependent lookup. ==== == 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]#