From: Martin Dowie <martin.dowie@btopenworld.com>
Subject: Re: Aliasing or referencing assignment
Date: Sat, 10 Sep 2005 10:01:24 +0000 (UTC)
Date: 2005-09-10T10:01:24+00:00 [thread overview]
Message-ID: <dfuatk$8ej$1@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com> (raw)
In-Reply-To: <m364t9id95.fsf@rr.trudgett>
David Trudgett wrote:
> Jeffrey Carter <spam@spam.com> writes:
>
>
>>David Trudgett wrote:
>>
>>>Also, is the 'To_Unbounded_String("this is a string")' really
>>>necessary? I thought I read in the ARM that string literals were
>>>defined for all the string types.
>>
>>String literals are defined for all string types. However,
>>Unbounded_String is not a string type. A string type is a
>>one-dimensional array with components of a character
>>type. Unbounded_String is a private type.
>
>
> Well that explains that little mystery, then. I just didn't want to be
> using all those "To_Unbounded_String" calls if I could avoid them. I
> suppose they get optimised away in the actual object code, though.
Er, no - why would you think that?...
next prev parent reply other threads:[~2005-09-10 10:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-09 0:20 Aliasing or referencing assignment David Trudgett
2005-09-09 2:13 ` Steve
2005-09-09 7:33 ` David Trudgett
2005-09-09 15:40 ` Jeffrey Carter
2005-09-10 7:38 ` David Trudgett
2005-09-10 10:01 ` Martin Dowie [this message]
2005-09-10 10:33 ` David Trudgett
2005-09-10 11:28 ` Ludovic Brenta
2005-09-11 20:43 ` David Trudgett
2005-09-11 3:20 ` Jeffrey R. Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox