comp.lang.ada
 help / color / mirror / Atom feed
From: GDAU100@BGUVM.BITNET ("Jonathan B. Owen")
Subject: Questions about Ada's allocator and "run-time" instantiations
Date: 29 Sep 89 07:09:15 GMT	[thread overview]
Message-ID: <8909290549.AA20749@ajpo.sei.cmu.edu> (raw)

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>

                 reply	other threads:[~1989-09-29  7:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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