comp.lang.ada
 help / color / mirror / Atom feed
From: "Grein, Christoph" <christoph.grein@eurocopter.com>
To: comp.lang.ada@ada.eu.org
Subject: Re: Intermixing two storage pools
Date: Wed, 22 Jan 2003 09:01:03 +0100 (MET)
Date: 2003-01-22T09:01:03+01:00	[thread overview]
Message-ID: <mailman.11.1043222919.4961.comp.lang.ada@ada.eu.org> (raw)

> I have to user-defined storage pools.
> 
> Is it OK to allocate ("new") by one of them and deallocate by the other 
> ("Uncheked_Deallocation"), using conversions between access types.

No, as far as I know that's even erroneous. You must deallocated from the same 
pool you allocated it.

If you think about it, it's quite obvious that you should take account of the 
allocated item's 
origin.



             reply	other threads:[~2003-01-22  8:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-22  8:01 Grein, Christoph [this message]
2003-01-22  8:42 ` Intermixing two storage pools Victor Porton
2003-01-22 16:52   ` Robert A Duff
2003-01-22 20:29 ` Victor Porton
  -- strict thread matches above, loose matches on Subject: below --
2003-01-22 10:35 Grein, Christoph
2003-01-22  7:42 Victor Porton
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox