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
Lines: 28

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: