nb::enum_<...>.def_prop_ro(...)
after commit d25bde8f
#556
-
Hi,
Compiling with current
which, by looking at recent git history, may be related to the change in d25bde8#diff-92b184679f711c1aabb5bcd64d973335fac346586e7027ffa3d12b5f5ccb765c Can you suggest us how to obtain something equivalent to Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
As a workaround, you could assign the enum binding to a variable and then write:
|
Beta Was this translation helpful? Give feedback.
-
Thanks, I will try that.
Do you expect this workaround to be the way to go in future, or do you expect |
Beta Was this translation helpful? Give feedback.
See 2889d77