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

Function operator<

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

Source from the content-addressed store, hash-verified

167 bool equal(object_api const &other) const { return rich_compare(other, Py_EQ); }
168 bool not_equal(object_api const &other) const { return rich_compare(other, Py_NE); }
169 bool operator<(object_api const &other) const { return rich_compare(other, Py_LT); }
170 bool operator<=(object_api const &other) const { return rich_compare(other, Py_LE); }
171 bool operator>(object_api const &other) const { return rich_compare(other, Py_GT); }
172 bool operator>=(object_api const &other) const { return rich_compare(other, Py_GE); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected