From: "Peter C. Chapin" <pchapin@sover.net>
Subject: Re: Why people wants to complicate code with Ada.Unchecked_Deallocation?
Date: Wed, 26 Jul 2006 20:07:33 -0400
Date: 2006-07-26T20:07:33-04:00 [thread overview]
Message-ID: <44c803bf$0$2922$4d3efbfe@news.sover.net> (raw)
In-Reply-To: <44c7c3d3$0$47958$4fafbaef@reader3.news.tin.it>
fabio de francesco wrote:
> What do you think about this issue?
It seems to me that in library units you pretty much have to use
Unchecked_Deallocation because you don't know much about the memory
requirements or constraints of the calling application. However, if you
are creating an abstract data type and you hide the deallocation in a
Finalize procedure, you probably aren't going to have a lot of trouble.
Peter
next prev parent reply other threads:[~2006-07-27 0:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-26 19:34 Why people wants to complicate code with Ada.Unchecked_Deallocation? fabio de francesco
2006-07-26 19:51 ` Georg Bauhaus
2006-07-26 19:56 ` Simon Wright
2006-07-26 21:28 ` Jeffrey R. Carter
2006-07-27 15:49 ` adaworks
2006-07-27 19:11 ` Jeffrey R. Carter
2006-07-27 22:52 ` Simon Wright
2006-07-27 23:28 ` Robert A Duff
2006-07-27 0:07 ` Peter C. Chapin [this message]
2006-07-27 11:54 ` gautier_niouzes
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox