From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Interfaces and Generics?
Date: Wed, 17 Sep 2003 16:06:16 -0500
Date: 2003-09-17T16:06:16-05:00 [thread overview]
Message-ID: <vmhj2ckt1ju0c0@corp.supernews.com> (raw)
In-Reply-To: 3F67A207.7060007@attbi.com
"> chris wrote:
> Hi,
>
> Will Ada 200x (Ada XP ;) ) revise generics for the new interfaces that
> will be present? I expect so, but I thought I'd ask anyway.
>
> For example, will you be able to specify that a generic package only
> deals with something that implements two (or more) given interfaces?
Yes. Interfaces are both supported in formal derived types and with a new
formal interface type.
BTW, the syntax of the examples that Robert Eachus has been giving is all
wrong. Look at the AI itself to see the syntax:
http://www.ada-auth.org/cgi-bin/cvsweb.cgi/AIs/AI-00251.TXT. (Note: I've got
a new version that will be posted soon.)
Randy.
prev parent reply other threads:[~2003-09-17 21:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-15 23:41 Interfaces and Generics? chris
2003-09-16 23:52 ` Robert I. Eachus
2003-09-17 11:13 ` Lutz Donnerhacke
2003-09-17 21:06 ` 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