MCPcopy Create free account
hub / github.com/pybind/pybind11 / operator<

Method operator<

include/pybind11/pytypes.h:1294–1294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1292 friend bool operator==(const It &a, const It &b) { return a.equal(b); }
1293 friend bool operator!=(const It &a, const It &b) { return !(a == b); }
1294 friend bool operator<(const It &a, const It &b) { return b - a > 0; }
1295 friend bool operator>(const It &a, const It &b) { return b < a; }
1296 friend bool operator>=(const It &a, const It &b) { return !(a < b); }
1297 friend bool operator<=(const It &a, const It &b) { return !(a > b); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected