Mixing of .def()
and value()
on nb::enum_
s?
#113
-
A quick observation while porting a pre-existing
This does not compile with nanobind, because nanobind/include/nanobind/nb_class.h Line 467 in a7d8dc0 Is this an intended break with pybind11, and if so, how could I define said operator on an (PS: I found out about |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This was unintended. Commit 714d17e changes the signature to be consistent with pybind11. |
Beta Was this translation helpful? Give feedback.
This was unintended. Commit 714d17e changes the signature to be consistent with pybind11.