Re: Guidance needed: hi-level steps to track an object until its destruction

2010-08-29 Thread Uday P. Khedker
Unfortunately I am not aware of C# implementation so can't respond to this... Uday. J Decker wrote, On Sunday 29 August 2010 05:32 PM: Just out of curiosity - isn't this what C# does with objects? would it perhaps be something like that in how mcs (mono) builds objects and tracks their lifespa

Re: Guidance needed: hi-level steps to track an object until its destruction

2010-08-29 Thread Basile Starynkevitch
On Sun, 2010-08-29 at 17:13 +0530, Uday P. Khedker wrote: > > I am not sure that is easily feasible. I would believe it is impossible. > > > > Within the compiler (or inside a GCC plugin, or inside a GCC extension > > coded in MELT), you probably are able change/inspect C++ classes& every > > othe

Re: Guidance needed: hi-level steps to track an object until its destruction

2010-08-29 Thread J Decker
Just out of curiosity - isn't this what C# does with objects? would it perhaps be something like that in how mcs (mono) builds objects and tracks their lifespan? On Sun, Aug 29, 2010 at 4:43 AM, Uday P. Khedker wrote: > >> I am not sure that is easily feasible. I would believe it is impossible.

Re: Guidance needed: hi-level steps to track an object until its destruction

2010-08-29 Thread Uday P. Khedker
I am not sure that is easily feasible. I would believe it is impossible. Within the compiler (or inside a GCC plugin, or inside a GCC extension coded in MELT), you probably are able change/inspect C++ classes& every other declaration any compiler is tracking. You are also able to find every oc

Re: Guidance needed: hi-level steps to track an object until its destruction

2010-08-28 Thread Jeff Saremi
ct: Re: Guidance needed: hi-level steps to track an object until its > destruction > To: "Jeff Saremi" > Cc: gcc@gcc.gnu.org > Received: Saturday, August 28, 2010, 1:05 PM > On Thu, 2010-08-26 at 18:16 -0700, > Jeff Saremi wrote: > > I'm hoping someone here could

Re: Guidance needed: hi-level steps to track an object until its destruction

2010-08-28 Thread Basile Starynkevitch
On Thu, 2010-08-26 at 18:16 -0700, Jeff Saremi wrote: > I'm hoping someone here could take the time to outline what I need to do (i'm > not looking for code but if you point me to some i'd appreciate it). > > I'd like to track an object from the it's created until it's destroyed (in > C++). And