From: Marius Amado-Alves <marius@amado-alves.info>
To: comp.lang.ada@ada-france.org
Subject: Re: Actual stream of a certain type
Date: Thu, 27 Jul 2006 00:47:00 +0100
Date: 2006-07-27T01:50:32+02:00 [thread overview]
Message-ID: <mailman.2.1153957636.32700.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <yoqdnX8teKA4LlrZnZ2dnUVZ_rWdnZ2d@comcast.com>
> You can write your own 'Read and 'Write for T and within those
> check
> if not Stream.all in T_Kind_of_Stream then raise ...
Thanks, I know, I tried that, but I don't seem to succeed combining
that with providing T_Stream as a mix-in. I also tried Ada 2005
interfaces with GNAT. I thought I saw a real case for interfaces and
that interested me because all examples I have seen so far are
academic, not compelling. But failed. Every time Ada got in the way.
It's really a love-hate relation with her. Shall I post the code here?
next prev parent reply other threads:[~2006-07-26 23:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-26 17:27 Actual stream of a certain type Marius Amado-Alves
2006-07-26 18:25 ` tmoran
2006-07-26 23:47 ` Marius Amado-Alves [this message]
2006-07-27 8:05 ` Dmitry A. Kazakov
2006-07-27 8:45 ` Marius Amado-Alves
[not found] ` <2AA0FC04-5130-42BF-A6C9-03C3D6F4C642@amado-alves.info>
2006-07-27 10:47 ` Marius Amado-Alves
[not found] ` <71E9A504-B016-49E2-AB85-34CCDF0AEEC8@amado-alves.info>
2006-07-27 0:25 ` Marius Amado-Alves
[not found] <03AF72A2-6759-4DE5-9D52-4E8266C19C43@amado-alves.info>
2006-07-26 18:04 ` Marius Amado-Alves
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox