Re: [C++-sig] c++ object deleted

2008-11-12 Thread Renato Araujo
The main problem here is my parent control. My object life is controlled by the parent life time: somethin like that: struct object { object(object *parent) { parent.add_child(this); } ~object() } On Wed, Nov 12, 2008 at 2:14 PM, Stefan Seefeld <[EMAIL PROTECTED]> wrote: >

Re: [C++-sig] c++ object deleted

2008-11-12 Thread Stefan Seefeld
Renato Araujo wrote: Hi all, Is possible in boost::python create a exception when the c++ object is deleted internal, and you try use the python object. Because here I got a core when I try do this. I'm not sure whether it's technically possible, but I do believe this is a bad idea: Except

[C++-sig] c++ object deleted

2008-11-12 Thread Renato Araujo
Hi all, Is possible in boost::python create a exception when the c++ object is deleted internal, and you try use the python object. Because here I got a core when I try do this. BR -- Renato Araujo Oliveira Filho ___ Cplusplus-sig mailing list Cpluspl