Boost logo

Boost :

Subject: Re: [boost] How to make a soft copy of a temporary Python object inside C++
From: Raul Durand (raul.durand_at_[hidden])
Date: 2010-12-07 13:31:40


Thanks Dave,

It worked nicely. I just did:

 class_<A>("A")
    .def("setB", &A::setB, with_custodian_and_ward<1,2>());

Cheers,

Raul Durand


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk