In Python, I can initialize an enum from a string using standard construction:
class A(Enum):
  A = 'a'
a = A('a')
This is helpful for reading configurations from external files.
However, once I move this enum to C++ and bind it with pybind, __init__() can only accept ints...
Is there an option to bind a custom initializer to the binded enum so that the string-initializer syntax A('a') will still work?
