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

Function operator==

cpp/src/value.cpp:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169} // namespace
170
171bool operator==(const value& x, const value& y) {
172 if (x.empty() && y.empty()) return true;
173 if (x.empty() || y.empty()) return false;
174 return compare(x, y) == 0;
175}
176
177bool operator<(const value& x, const value& y) {
178 if (x.empty() && y.empty()) return false;

Callers

nothing calls this directly

Calls 2

compareFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected