comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Streaming limited tagged types
Date: Mon, 16 Dec 2002 18:53:36 -0600
Date: 2002-12-16T18:53:36-06:00	[thread overview]
Message-ID: <uvstkcjmut5n5b@corp.supernews.com> (raw)
In-Reply-To: gg3rvuctdc3cvlca9ck1kpapu31kinl4fs@4ax.com

Dmitry A. Kazakov wrote in message ...
>Hi!
>
>Two problems with that:
>
>1. S'Input is not defined for a limited type. I could define it, but
>it seems that S'Class'Input will be still undefined.
>
>2. Should I have S'Class'Input it would not help much in the case when
>the object should be allocated in the heap. "new" with a qualified
>expression will not work for a limited type.
>
>Is there a way to stream limited tagged types?

This is completely botched in Ada 95. We tried to fix it in the
Corrigendum (see 13.13.1(35-36)), but that isn't quite right either.
AI-195 attempts to fix it again; time will tell if we've gotten it right
this time. (I'm not counting on it.) WG9 approved AI-195 at it's recent
meeting (last Friday). So, you just have to convince your favorite
compiler vendor to implement it. (Note, this is not an Amendment AI.)

            Randy Brukardt, ARG Editor.





      parent reply	other threads:[~2002-12-17  0:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-16  8:36 Streaming limited tagged types Dmitry A. Kazakov
2002-12-16 23:32 ` Stephen Leake
2002-12-18  9:36   ` Dmitry A. Kazakov
2002-12-17  0:53 ` Randy Brukardt [this message]
replies disabled

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