|
Boost : |
From: rcspython_at_[hidden]
Date: 2001-04-25 10:43:01
I have a C++ class that has a member
private
std::vector<long> m_vector;
public
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!
Ron
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk