[C++-sig] Custodian and Ward doubts
David Abrahams
dave at boost-consulting.com
Tue Sep 13 00:30:44 CEST 2005
Eric Jardim <ericjardim at gmail.com> writes:
> 2005/9/12, David Abrahams <dave at boost-consulting.com>:
>>
>> Eric Jardim <ericjardim at gmail.com> writes:
>> > Can a child have more than one custodian?
>>
>> Yes, it is cumulative.
>>
>
> Hmm... So, if I want to change the parent (who is also the custodian of the
> child), I need to say to Boost.Python that it is not a custodian anymore. Is
> it possible?
Not by using the public interface.
> If not, the custodian and ward model will not fit the needs of the Qt
> library, and I need to it manually (like what I am doing now) or create my
> custom call policies/return value generators. Am I right?
I don't know about the needs of the Qt library.
> Sugestions, please ;)
I have nothing off the top of my head and I'm too busy to think about
it in depth at the moment.
sorry,
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list