MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / compare

Method compare

Sources/Dependencies/jsoncpp/value.cpp:488–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486 }
487
488 int Value::compare(const Value& other) const {
489 if (*this < other)
490 return -1;
491 if (*this > other)
492 return 1;
493 return 0;
494 }
495
496 bool Value::operator<(const Value& other) const {
497 int typeDelta = type() - other.type();

Callers 2

SimplifyBasicTypeFunction · 0.80
startsWithMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected