python中封装一个枚举_使用Boost-Python包装枚举
AttributeError是尝试在没有第一个设置范围的情况下创建Python扩展类型的结果. boost::python::enum_构造函数指出:Constructs an enum_ object holding a Python extension type derived from int which is named name. The named attribute of the c...