MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / operator==

Method operator==

benchmark/json.h:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 size_t depth = 0;
36
37 bool operator==(const DocStat &rhs) const {
38 return this->objects == rhs.objects && this->arrays == rhs.arrays &&
39 this->numbers == rhs.numbers && this->strings == rhs.strings &&
40 this->trues == rhs.trues && this->falses == rhs.falses &&
41 this->nulls == rhs.nulls && this->members == rhs.members &&
42 this->elements == rhs.elements && this->length == rhs.length;
43 }
44 bool operator!=(const DocStat &rhs) const { return !(*this == rhs); }
45 void print() {
46 printf("======== Members ========\n");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected