From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ed6a891101ff4e06 X-Google-Attributes: gid103376,public From: "alan walkington" Subject: Re: Freeing Pointers to classwide types Date: 1998/09/25 Message-ID: <6ufhqj$7np$1@usenet46.supernews.com>#1/1 X-Deja-AN: 394658140 References: <1ftmFTC69GA.191@samson.airnet.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: newsabuse@supernews.com X-Trace: 906709651 YVH4RINSWA81FD118 usenet46.supernews.com Organization: http://www.supernews.com, The World's Usenet: Discussions Start Here Newsgroups: comp.lang.ada Date: 1998-09-25T00:00:00+00:00 List-Id: If you are looking for the equivelent of an automatic 'destroy' function, then look up the 'ada.finalization.controlled' tagged type in any Ada95 reference. Among other things, it will tell you how to set up a procedure that is called whenever an instantiated object, derived from that class, is destroyed. Alan Walkington walky@netmagic.net joecool wrote in message <1ftmFTC69GA.191@samson.airnet.net>... >Forgive me if this is an old question. I am new to the group. --- stuff deleted >I understand (I think) how to dynamically allocate different objects within >a class and place them in a heterogenous list but I'm not sure if I >understand how to properly free the memory. > >How do you go about freeing such critters? >