From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Null unbounded string Date: Sat, 09 Aug 2014 23:58:10 +0300 Organization: Tidorum Ltd Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net 6GSpVRuCNTfDTVWfVj6SPAVY6PV+jmY58CFI2+3EbJ871L/DD7 Cancel-Lock: sha1:xhCSUe+xPEOg59XWAm5ejyqAaHs= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:21630 Date: 2014-08-09T23:58:10+03:00 List-Id: On 14-08-09 21:53 , Victor Porton wrote: > Simon Wright wrote: > >> Victor Porton 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 . @ .