How can I iterate in C++ over a boost::python::list?

According to http://www.boost.org/doc/libs/1_39_0/libs/python/doc/v2/list.html 
it has no begin() and end() functions.
Neither a size() function that would allow to call pop(size()-1). Neither an 
isEmpty() function that would allow to call pop(0) until the list is empty.

I'm sure I'm missing something trivial. Can somebody help me?

Thanks
Hans



      
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to