MCPcopy Create free account
hub / github.com/apache/qpid-proton / operator<

Function operator<

cpp/src/value.cpp:177–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177bool operator<(const value& x, const value& y) {
178 if (x.empty() && y.empty()) return false;
179 if (x.empty()) return true; // empty is < !empty
180 return compare(x, y) < 0;
181}
182
183std::ostream& operator<<(std::ostream& o, const value& x) {
184 if (type_id_is_scalar(x.type()))

Callers

nothing calls this directly

Calls 2

compareFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected