[comp.lang.ada] Questions about Ada's allocator and "run-time" instantiations

GDAU100@BGUVM.BITNET ("Jonathan B. Owen") (09/29/89)

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: <GDAU100@BGUVM>