[C++-sig] V2 enum convertors

Peter Bienstman pbienst at MIT.EDU
Mon Apr 1 21:29:25 CEST 2002


OK, I've got V2 to work on a small subset of my project, but now I'm
wondering if there is already equivalent V2 functionality for

 template class boost::python::enum_as_int_converters<Limit>;

and then inside the module:

  m.add(boost::python::make_ref(Plus), "Plus");
  m.add(boost::python::make_ref(Min),  "Min");

Thanks,

Peter






More information about the Cplusplus-sig mailing list