comp.lang.ada
 help / color / mirror / Atom feed
* Questions about Ada's allocator and "run-time" instantiations
@ 1989-09-29  7:09 "Jonathan B. Owen"
  0 siblings, 0 replies; only message in thread
From: "Jonathan B. Owen" @ 1989-09-29  7:09 UTC (permalink / 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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1989-09-29  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1989-09-29  7:09 Questions about Ada's allocator and "run-time" instantiations "Jonathan B. Owen"

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