From: dewarr@my-dejanews.com
Subject: Re: Freeing Pointers to classwide types
Date: 1998/10/02
Date: 1998-10-02T00:00:00+00:00 [thread overview]
Message-ID: <6v15au$7t0$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 3613a5b1.186262@SantaClara01.news.InterNex.Net
In article <3613a5b1.186262@SantaClara01.news.InterNex.Net>,
tmoran@bix.com (Tom Moran) wrote:
> >Tom> and Unchecked_Deallocation?
>
> >Depends whether you want to reuse allocated-then-freed memory or not.
> Since this section of the thread started with a discussion of
> automatic, ie, not via Unchecked_Deallocation, of memory, it would
> seem strange to me to go to all this trouble just to wind up using
> Unchecked_Deallocation after all. And since the whole discussion is
> about what to do if your compiler doesn't free, ie, make available for
> re-use, certain memory automatically, "free"ing, but not making
> available for re-use, also doesn't seem useful.
> Let me rephrase the question: If an access type goes out of scope,
> so the things it pointed to become inaccessible, is there any portable
> way to prevent an eventual Storage_Error from multiple calls of the
> block, without using Unchecked_Deallocation?
The answer is no, but so what? This is like asking if there is a way to
define a function without using the function keyword, or whether there is
a way to have concurrent execution without using the task keyword.
Unchecked_Deallocation is for use in such contexts, why on earth worry
about whether you can do unchecked deallocations without using
Unchecked_Deallocation?
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
next prev parent reply other threads:[~1998-10-02 0:00 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-24 0:00 Freeing Pointers to classwide types joecool
1998-09-25 0:00 ` Tom Moran
1998-09-25 0:00 ` dewarr
1998-09-25 0:00 ` Tom Moran
1998-09-25 0:00 ` dewarr
1998-09-26 0:00 ` Tom Moran
1998-09-26 0:00 ` dewarr
1998-09-26 0:00 ` Tom Moran
1998-09-27 0:00 ` dewarr
1998-09-27 0:00 ` Tom Moran
1998-09-28 0:00 ` dewarr
1998-09-28 0:00 ` Tom Moran
1998-09-28 0:00 ` dewarr
1998-09-28 0:00 ` Richard D Riehle
1998-09-28 0:00 ` Pat Rogers
1998-09-29 0:00 ` dewarr
1998-09-28 0:00 ` dewarr
1998-09-28 0:00 ` Tom Moran
1998-09-28 0:00 ` Tom Moran
1998-09-28 0:00 ` Brian Rogoff
1998-09-28 0:00 ` Pat Rogers
1998-09-28 0:00 ` Tom Moran
1998-09-28 0:00 ` Pat Rogers
1998-09-29 0:00 ` dewarr
1998-09-29 0:00 ` Tom Moran
1998-09-30 0:00 ` Tom Moran
1998-10-01 0:00 ` dewar
1998-10-01 0:00 ` Tom Moran
1998-10-01 0:00 ` dewarr
1998-10-01 0:00 ` dewarr
1998-10-01 0:00 ` Tom Moran
1998-10-01 0:00 ` Samuel Tardieu
1998-10-01 0:00 ` Tom Moran
1998-10-01 0:00 ` Tucker Taft
1998-10-01 0:00 ` Tom Moran
1998-10-02 0:00 ` dewarr
1998-10-02 0:00 ` Larry Kilgallen
1998-10-02 0:00 ` dewarr
1998-10-02 0:00 ` dennison
1998-10-02 0:00 ` dewarr
1998-10-01 0:00 ` dennison
1998-10-02 0:00 ` dewarr [this message]
1998-10-09 0:00 ` Matthew Heaney
1998-10-09 0:00 ` dennison
1998-10-09 0:00 ` Matthew Heaney
1998-10-09 0:00 ` Matthew Heaney
1998-09-25 0:00 ` Bob Fletcher
1998-09-25 0:00 ` dennison
1998-09-25 0:00 ` Samuel Tardieu
1998-10-09 0:00 ` Matthew Heaney
1998-10-12 0:00 ` Mats Weber
1998-10-12 0:00 ` Pat Rogers
1998-10-09 0:00 ` Matthew Heaney
1998-09-25 0:00 ` alan walkington
1998-09-26 0:00 ` Simon Wright
1998-10-09 0:00 ` Matthew Heaney
1998-10-09 0:00 ` Niklas Holsti
1998-10-10 0:00 ` Matthew Heaney
1998-10-11 0:00 ` Niklas Holsti
1998-10-11 0:00 ` Matthew Heaney
-- strict thread matches above, loose matches on Subject: below --
1998-09-25 0:00 bpr5549
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox