robotpy / robotpy-build

(mostly) automated C++ wrapping for Python
BSD 3-Clause "New" or "Revised" License
35 stars 16 forks source link

Comparisons with same type don't use py::self #160

Closed auscompgeek closed 11 months ago

auscompgeek commented 2 years ago

The types we're binding might not be default constructible.

https://pybind11.readthedocs.io/en/stable/advanced/classes.html#operator-overloading

https://github.com/robotpy/robotpy-wpiutil/runs/5348778297?check_suite_focus=true#step:7:312

virtuald commented 11 months ago

Fixed in #216