MCPcopy Create free account
hub / github.com/ablab/spades / operator==

Function operator==

ext/src/llvm/JSON.cpp:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 return nullptr;
79}
80bool operator==(const Object &LHS, const Object &RHS) {
81 if (LHS.size() != RHS.size())
82 return false;
83 for (const auto &L : LHS) {
84 auto R = RHS.find(L.first);
85 if (R == RHS.end() || L.second != R->second)
86 return false;
87 }
88 return true;
89}
90
91Array::Array(std::initializer_list<Value> Elements) {
92 V.reserve(Elements.size());

Callers

nothing calls this directly

Calls 11

getAsNullMethod · 0.80
getAsBooleanMethod · 0.80
getAsNumberMethod · 0.80
getAsStringMethod · 0.80
getAsArrayMethod · 0.80
getAsObjectMethod · 0.80
sizeMethod · 0.45
findMethod · 0.45
endMethod · 0.45
kindMethod · 0.45
getAsIntegerMethod · 0.45

Tested by

no test coverage detected