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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!tut.cis.ohio-state.edu!ucbvax!BGUVM.BITNET!GDAU100 From: GDAU100@BGUVM.BITNET ("Jonathan B. Owen") Newsgroups: comp.lang.ada Subject: Questions about Ada's allocator and "run-time" instantiations Message-ID: <8909290549.AA20749@ajpo.sei.cmu.edu> Date: 29 Sep 89 07:09:15 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet List-Id: Two questions: 1. Can anyone elaborate or refer me to the appropriate literature on how Ada allocates memory for access types. Specifically, if I have an access type to an unconstrained string, how is the memory reused once I deallocate objects using "unchecked_deallocation"? 2. If I have an instantiation of a generic package within a procedure which depends on a dynamic type (say, a subtype depending on a procedure's variable), exactly when is the instantiation done, and how may times? Each time the procedure is invokes? Thank you for any help... Jonathan ______________________________________________________________________________ (--) /--) /-(\ Email: gdau100@bguvm (bitnet) \ / /--K | \|/\ /\/) /|-\ Snail: 55 Hovevei Zion _/_/o /L__)_/o \/\__/ \X/ \_/ | |_/ Tel-Aviv, 63346 ISRAEL (/ Jonathan B. Owen Voice: (03) 281-422 Point of view: A chicken is the means by which an egg reproduces an egg. ______________________________________________________________________________ Acknowledge-To: