From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Null unbounded string
Date: Sat, 09 Aug 2014 23:58:10 +0300
Date: 2014-08-09T23:58:10+03:00 [thread overview]
Message-ID: <c4ngamFm3f8U1@mid.individual.net> (raw)
In-Reply-To: <ls5qn7$vs9$1@speranza.aioe.org>
On 14-08-09 21:53 , Victor Porton wrote:
> Simon Wright wrote:
>
>> Victor Porton <porton@narod.ru> writes:
>>
>>> Jeffrey Carter wrote:
>>>
>>>> On 08/09/2014 08:28 AM, Victor Porton wrote:
>>>>> Is Ada.Strings.Unbounded.Null_Unbounded_String an empty string or is it
>>>>> something different (like NULL char pointer in C)?
>>>>
>>>> It's equivalent to an empty string. How it's implemented is unimportant.
>>>
>>> But where in the ARM it's said that it is equivalent to an empty string?
>>
>> http://www.ada-auth.org/standards/12rm/html/RM-A-4-5.html#p73
>
> It does NOT say that null string is empty string.
It says that Null_Unbounded_String represents the "null String", which
is RM-ese for a String with no elements, an empty String.
See http://www.ada-auth.org/standards/12rm/html/RM-3-6-1.html#p7 for the
definition of a "null array", and remember that String is an array type.
> Should we make a formal clarification request?
No need.
--
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
. @ .
next prev parent reply other threads:[~2014-08-09 20:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-09 15:28 Null unbounded string Victor Porton
2014-08-09 15:36 ` mockturtle
2014-08-09 15:38 ` Jeffrey Carter
2014-08-09 15:57 ` Victor Porton
2014-08-09 18:26 ` Simon Wright
2014-08-09 18:53 ` Victor Porton
2014-08-09 20:58 ` Niklas Holsti [this message]
2014-08-11 15:29 ` Adam Beneschan
2014-08-09 19:06 ` Per Sandberg
2014-08-11 10:55 ` AdaMagica
2014-08-12 0:30 ` anon
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox