comp.lang.ada
 help / color / mirror / Atom feed
From: Thomas Wolf <t_wolf@angelfire.com>
Subject: Re: Qs re 'Write & 'Read
Date: Wed, 11 Jun 2003 21:19:47 +0200
Date: 2003-06-11T21:19:47+02:00	[thread overview]
Message-ID: <MPG.19519f4144e6af8498969c@news.ip-plus.net> (raw)
In-Reply-To: vecjg8j93gkkc7@corp.supernews.com

david.c.hoos.sr@ada95.com wrote:
> 
> <tmoran@acm.org> wrote in message news:02qFa.1186062$F1.140501@sccrnsc04...
> > >the string itself is preceded by its contstraint, access types are
> written
> > >to the stream with a boolean value preceding the data (if any).
> >   Sounds right.
> >
> > >It surely seemed to me like the language standard could have defined
> > >something like this as the default for access types, but alas, it did
> not.
> >   I can see there would be difficulties for general access types, but
> > heap access types seem easy enough.  Unless storage pools cause
> > difficulties.
> Maybe my mind's just in a fog today, but please explain why there'd be
> a problem with any kind of access type -- general, or not, using my
> approach.

Cyclic self-referential data structures. It's clearly out of the
standard's business; it's up to your application to define how
a graph (cyclic or not, tree-shaped or not) is to be written to
and read from a stream.

-- 
-----------------------------------------------------------------
Thomas Wolf                          e-mail: t_wolf@angelfire.com




  parent reply	other threads:[~2003-06-11 19:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-10  6:11 Qs re 'Write & 'Read tmoran
2003-06-10 12:53 ` Rodrigo Garcia
2003-06-10 17:55 ` David C. Hoos
2003-06-10 19:09   ` tmoran
2003-06-10 21:30     ` David C. Hoos
2003-06-10 23:26       ` tmoran
2003-06-11  1:31         ` David C. Hoos
2003-06-11 19:19       ` Thomas Wolf [this message]
2003-06-12 10:12         ` 
replies disabled

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