comp.lang.ada
 help / color / mirror / Atom feed
From: mockturtle <framefritti@gmail.com>
Subject: Re: Null unbounded string
Date: Sat, 9 Aug 2014 08:36:08 -0700 (PDT)
Date: 2014-08-09T08:36:08-07:00	[thread overview]
Message-ID: <a212d713-ddd5-4f92-aebe-aaeb8fa959ff@googlegroups.com> (raw)
In-Reply-To: <ls5enf$49s$1@speranza.aioe.org>

On Saturday, August 9, 2014 5:28:49 PM UTC+2, Victor Porton wrote:
> Is Ada.Strings.Unbounded.Null_Unbounded_String an empty string or is it 
> something different (like NULL char pointer in C)?
> 

I'm not a language lawyer, but I would say that from a "conceptual" point of view is a string (e.g., you can concatenate it with other strings).  How the null string is actually implemented, I think, it is a "private" matter of the implementation that could decide to represent it as a NULL pointer.  Maybe a LL can elaborate more on this.


  reply	other threads:[~2014-08-09 15:36 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 [this message]
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
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