Hi,
I want to wrap operator== for my object, Py++ generates that:
Document_exposer.def( bp::self != bp::self);
Document_exposer.def( bp::self == bp::self );
But I want to do something more, so I try to wrap it with:
Document_exposer.def(
bp::self != bp::sel
On 01/10/2010 12:36 PM, devin kelly wrote:
So I have to make something to do this conversion. This is where I'm
stuck now, I think I have to do something like this
BOOST_PYTHON_MODULE(vector_indexing_suite_ext){
boost::python::class_ >("PyVec")
.def(boost::python::vector_index
Well what I really to do is turn an STL vector into and python list. I want
to do this in a separate script, so I don't think eval is right for me. I
just started with an int because that's easier. I've gotten that part too,
my code looks like this:
int main(){
int
five_squared=0;
On Tuesday 05 January 2010 12:26:27 Nicolas Lelong wrote:
> Is this mailing list the best route to submit this patch, what more work
> should be done to get it accepted into trunk ?
Please file a trac ticket at svn.boost.org so that this does not get lost.
Ravi
_