MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / operator<

Function operator<

src/value.cpp:518–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516}
517bool operator!=(const value& x, const value& y) { return not(x == y); }
518bool operator<(const value& x, const value& y)
519{
520 if(x.get_type() != y.get_type())
521 return x.get_type() < y.get_type();
522 return compare(x, y, std::less<>{});
523}
524bool operator<=(const value& x, const value& y) { return not(x > y); }
525bool operator>(const value& x, const value& y) { return y < x; }
526bool operator>=(const value& x, const value& y) { return not(x < y); }

Callers

nothing calls this directly

Calls 2

compareFunction · 0.85
get_typeMethod · 0.45

Tested by

no test coverage detected