Boost logo

Boost :

From: rcspython_at_[hidden]
Date: 2001-04-25 10:43:01

I have a C++ class that has a member

std::vector<long> m_vector;

const std::vector<long> GetVector(void) {return m_vector;};
To export the value....

My first instinct was to use boost::python::tuple as the return type
in the wrapper.... but after browsing the objects.hpp file it seems
that I have to have either 1,2,3, or 4 elements in m return tuple?

What is the easiest way to do this if the const boost::python::tuple
won't work?

Best Regards!


Boost list run by bdawes at, gregod at, cpdaniel at, john at