[C++-sig] vector<int> -> list

Johan Johansson johan2sson at gmail.com
Wed Nov 15 00:26:06 CET 2006


Dear list,

What would be the best way to return a rather largish vector of integers to
Python from a C++ function? And while I'm at it, what would be the best way
of iterating through a boost::python::list?

Obviously two very basic questions, but neither google nor grep seems to
know the answers.

Thanks in advance,
Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20061115/b714f9f5/attachment.htm>


More information about the Cplusplus-sig mailing list