No subject


Tue Oct 14 00:29:20 CEST 2008


> or
> will it be available in the future?

In Boost.Python? Eventually, I'm sure. Not for 1.29.0

> What's currently the best way to return
> a std::vector<T>, where T is some class already wrapped by boost.python?

You could always wrap std::vector<T>... or you could use Ralf's stuff. Or
you could make a thin wrapper that builds a Python list and returns that
using the facilities of boost/python/list.hpp.

no-one-best-way-ly y'rs,
Dave

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave at boost-consulting.com * http://www.boost-consulting.com






More information about the Cplusplus-sig mailing list