comp.lang.ada
 help / color / mirror / Atom feed
From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Re: how do i include 111111 in an enumaration type ?
Date: 1999/10/12
Date: 1999-10-12T00:00:00+00:00	[thread overview]
Message-ID: <slrn806iq2.1nn.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: 38033f0b_3@news1.prserv.net

* Matthew Heaney wrote:
>(Lutz Donnerhacke) wrote:
>> After some failtures to use Ada.Strings.Unbounded--I hate To_Unbound...--
>> I came up with code like this:
>
>Your code segment is completely wrong.  Do not use raw access types.
>Use Unbounded_String, which does automatic garbage collection.

I thougt (by reading the RM95), that only explizit calls of Unchecked_Access
or (Unchecked_)Free can cause a memory leakage. I assumed automatic garbage
collecting to every ordinary use of access and new.




  reply	other threads:[~1999-10-12  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <7tsq3o$92p$1@minus.oleane.net>
1999-10-12  0:00 ` how do i include 111111 in an enumaration type ? Nick Roberts
1999-10-14  0:00   ` Sybs ALHABSHI
     [not found] ` <38021792_4@news1.prserv.net>
     [not found]   ` <slrn80495c.2a2.aidan@skinner.demon.co.uk>
1999-10-11  0:00     ` Keith Thompson
1999-10-12  0:00   ` Sybs ALHABSHI
1999-10-12  0:00     ` Lutz Donnerhacke
1999-10-12  0:00       ` Matthew Heaney
1999-10-12  0:00         ` Lutz Donnerhacke [this message]
1999-10-12  0:00           ` Ted Dennison
1999-10-12  0:00           ` Ted Dennison
1999-10-13  0:00             ` Lutz Donnerhacke
1999-10-13  0:00               ` Matthew Heaney
1999-10-13  0:00                 ` Ted Dennison
1999-10-12  0:00     ` Matthew Heaney
1999-10-12  0:00       ` Ehud Lamm
replies disabled

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