comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <rieachus@attbi.com>
Subject: Re: Interfaces and Generics?
Date: Tue, 16 Sep 2003 23:52:09 GMT
Date: 2003-09-16T23:52:09+00:00	[thread overview]
Message-ID: <3F67A207.7060007@attbi.com> (raw)
In-Reply-To: QWs9b.706$I9.652@newsfep4-winn.server.ntli.net

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?

If I understand you correctly, you would like to be able to say:

generic
   type Foo is new A with B, C;
package Bar is...

If so, it is a very good question.  I don't think it is currently part 
of the proposal.  I am also not sure how useful it would be, but it 
would certainly be a good idea for orthogonality reasons.

-- 
                                               Robert I. Eachus

"As far as I'm concerned, war always means failure." -- Jacques Chirac, 
President of France
"As far as France is concerned, you're right." -- Rush Limbaugh




  reply	other threads:[~2003-09-16 23:52 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 [this message]
2003-09-17 11:13   ` Lutz Donnerhacke
2003-09-17 21:06   ` Randy Brukardt
replies disabled

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