We have functions like
void myf(const boost::python::list& l) {...}
is there a way to accept any python iterable, or less generically, any collection?
We have functions like
void myf(const boost::python::list& l) {...}
is there a way to accept any python iterable, or less generically, any collection?
There’s boost::python::stl_input_iterator, so you can do something like