MCPcopy Create free account
hub / github.com/cinder/Cinder / compare

Method compare

src/jsoncpp/jsoncpp.cpp:1920–1926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1918ValueType Value::type() const { return type_; }
1919
1920int Value::compare(const Value& other) const {
1921 if (*this < other)
1922 return -1;
1923 if (*this > other)
1924 return 1;
1925 return 0;
1926}
1927
1928bool Value::operator<(const Value& other) const {
1929 int typeDelta = type_ - other.type_;

Callers 3

isDebuggerActiveFunction · 0.45
operator<Method · 0.45
operator==Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected