Home
last modified time | relevance | path

Searched refs:rich_compare (Results 1 – 1 of 1) sorted by relevance

/external/python/pybind11/include/pybind11/
Dpytypes.h119 bool equal(object_api const &other) const { return rich_compare(other, Py_EQ); } in equal()
120 bool not_equal(object_api const &other) const { return rich_compare(other, Py_NE); } in not_equal()
121 bool operator<(object_api const &other) const { return rich_compare(other, Py_LT); }
122 bool operator<=(object_api const &other) const { return rich_compare(other, Py_LE); }
123 bool operator>(object_api const &other) const { return rich_compare(other, Py_GT); }
124 bool operator>=(object_api const &other) const { return rich_compare(other, Py_GE); }
160 bool rich_compare(object_api const &other, int value) const;
1618 bool object_api<D>::rich_compare(object_api const &other, int value) const { in rich_compare() function