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

Method operator==

include/sonic/dom/json_pointer.h:58–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 ~GenericJsonPointerNode() = default;
57
58 bool operator==(const GenericJsonPointerNode& rhs) const {
59 return IsStr() ? str_ == rhs.str_ : num_ == rhs.num_;
60 }
61 bool operator!=(const GenericJsonPointerNode& rhs) const {
62 return !(*this == rhs);
63 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected