Boost logo

Boost :

Subject: Re: [boost] How to make a soft copy of a temporary Python object inside C++
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-12-07 16:50:54

On Tue, Dec 7, 2010 at 1:31 PM, Raul Durand <raul.durand_at_[hidden]> wrote:
> Thanks Dave,
> It worked nicely. I just did:
>  class_<A>("A")
>    .def("setB", &A::setB, with_custodian_and_ward<1,2>());
> Cheers,

glad to help!

Dave Abrahams
BoostPro Computing

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