comp.lang.ada
 help / color / mirror / Atom feed
From: tardieu@valjean.enst.fr (Samuel Tardieu)
To: ehsjony@ehs.ericsson.se (Jonas Nygren)
Subject: Re: dynamic allocation
Date: 1995/04/03
Date: 1995-04-03T00:00:00+00:00	[thread overview]
Message-ID: <tardieuznfsy6fvos8x@valjean.enst.fr> (raw)
In-Reply-To: 3loml4$98v@erinews.ericsson.se

>>>>> "Jonas" == Jonas Nygren <ehsjony@ehs.ericsson.se> writes:

 Jonas> Some short questions:

Some short answers.

 Jonas> Does Ada95 have dynamic memory allocation/deallocation
 Jonas> primitives builtin to the language - cf. C++'s new and delete?

Yes it does. They are called 'new' and 'Unchecked_Dellocation'.

 Jonas> Does Ada95 have functionality comparable with C++'s
 Jonas> constructors and destructors?

Yes it does. You have to make your objects child of 'Controlled' or
'Limited_Controlled'.

 Jonas> Does Ada95 support garbage collection?

Ada95 is allowed to do garbage collection, but I think that's not
mandatory.

  Sam
--
"La cervelle des petits enfants, ca doit avoir comme un petit gout de noisette"
                                                       Charles Baudelaire




  reply	other threads:[~1995-04-03  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-03  0:00 dynamic allocation Jonas Nygren
1995-04-03  0:00 ` Samuel Tardieu [this message]
1995-04-04  0:00 ` Niklas Holsti
  -- strict thread matches above, loose matches on Subject: below --
2004-08-27 19:49 tmoran
replies disabled

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