comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@world.std.com>
Subject: Re: Wrap-Up (was Re: Unchecked_Conversion on different sized types -- problem?)
Date: 2000/01/15
Date: 2000-01-15T00:00:00+00:00	[thread overview]
Message-ID: <wccaem7cb3o.fsf@world.std.com> (raw)
In-Reply-To: ETSf4.273$541.8047@newsread1.prod.itd.earthlink.net

"Matthew Heaney" <matthew_heaney@acm.org> writes:

> Compilar writers: if we use a little function to call the allocator, ie
> 
>   function "+" (S : String) return String_Access is
>   begin
>     return new String'(S);
>   end;
> 
>   Table : constant String_Table :=
>     (A => +"this is a test",
>      B => +"of the emergency",
>      C => +"broadcast sytsem");
> begin
> 
> then is the allocation still done statically?

My guess is: Yes, if "+" has a pragma Inline, otherwise no.

- Bob




      reply	other threads:[~2000-01-15  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-13  0:00 Unchecked_Conversion on different sized types -- problem? Mike Silva
2000-01-13  0:00 ` Bryce Bardin
2000-01-13  0:00   ` Mike Silva
2000-01-13  0:00     ` Mike Silva
2000-01-14  0:00       ` Bryce Bardin
2000-01-14  0:00         ` Mike Silva
2000-01-14  0:00   ` Matthew Heaney
2000-01-13  0:00 ` Jim Rogers
2000-01-13  0:00   ` Mike Silva
2000-01-13  0:00     ` James S. Rogers
2000-01-13  0:00 ` reason67
2000-01-14  0:00 ` Jeff Carter
2000-01-14  0:00 ` Keith Thompson
2000-01-16  0:00   ` David A. Cobb
2000-01-14  0:00 ` Vladimir Olensky
2000-01-14  0:00 ` Werner Pachler
2000-01-14  0:00   ` Bryce Bardin
2000-01-14  0:00   ` reason67
2000-01-14  0:00 ` Wrap-Up (was Re: Unchecked_Conversion on different sized types -- problem?) Mike Silva
2000-01-15  0:00   ` Matthew Heaney
2000-01-15  0:00     ` Robert A Duff [this message]
replies disabled

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