How to Properly Expose Enum Comparison Operators to Python Using Boost.Python?
Im trying to expose a C++ enum and its comparison operators to Python using Boost.Python. I’ve defined the enum and comparison operators as shown in the code below:
Im trying to expose a C++ enum and its comparison operators to Python using Boost.Python. I’ve defined the enum and comparison operators as shown in the code below: