You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C++ uses enum class (scoped enums) but Cython exposes them as plain integers. When Python calls an overloaded function with an integer argument, it cannot distinguish which overload to use.
Ideally it should not expose it as int in python. Even in python it should be a specific class. Only when passed to c++ it should be casted to its int value.
Different enum classes should be overloadable.
Activity
Add test for enum-based overload resolution (issue #233)
Add test for enum-based overload resolution (issue #233) (#234)