From: dweller@Starbase.NeoSoft.COM (David Weller)
Subject: Re: Overloading for T and T'Class
Date: 15 Nov 1994 05:39:59 -0600
Date: 1994-11-15T05:39:59-06:00 [thread overview]
Message-ID: <3aa6mf$t3j@Starbase.NeoSoft.COM> (raw)
In-Reply-To: CzAF7q.29E@inmet.camb.inmet.com
In article <CzAF7q.29E@inmet.camb.inmet.com>,
Tucker Taft <stt@dsd.camb.inmet.com> wrote:
>>
>>My neophyte language-lawerly sense says "No", you can't do this. ...
>
>Bzzz! We will repeat the entire question for the other team...
>
Ah, the gentle hand of "Dad" strikes again :-)
>The above is legal, though a call would generally be ambiguous.
>Actually, the class-wide operation can be called, provided the actual
>parameter is of some descendant of T other than T or T'Class itself.
>Furthermore, the primitive operation once inherited by some
>descendant (say T2) would be callable, presuming T2 is declared
>in some other package. Hence, it is conceivable that the
>above might have some use, presuming no one wanted to use either
>one with T or T'Class, but rather with other descendants of T such
>as, say, T2 or T2'Class.
>
Ah good, then I'm entirely correct for saying the next thing to Brad
Balfour:
See, Brad, I _told_ ya so!
:-)
--
Proud (and vocal) member of Team Ada! (and Team OS/2) ||This is not your
Ada -- Very Cool. Doesn't Suck. || father's Ada
For all sorts of interesting Ada tidbits, run the command: ||________________
"finger dweller@starbase.neosoft.com | more" (or e-mail with "finger" as subj.)
ObNitPick: Spelling Ada as ADA is like spelling C++ as CPLUSPLUS. :-)
next prev parent reply other threads:[~1994-11-15 11:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-11-11 21:33 Overloading for T and T'Class John Volan
1994-11-14 2:07 ` David Weller
1994-11-15 5:01 ` Cyrille Comar
1994-11-15 2:22 ` Bob Duff
1994-11-16 11:33 ` Robert I. Eachus
[not found] ` <3a6goo$j7s@starbase.neosoft.com>
1994-11-15 2:35 ` Tucker Taft
1994-11-15 11:39 ` David Weller [this message]
1994-11-16 4:32 ` Brad Balfour
1994-11-16 14:34 ` John Volan
1994-11-15 14:15 ` Norman H. Cohen
1994-11-16 1:22 ` John Volan
1994-11-16 11:59 ` David Weller
1994-11-19 4:54 ` Cyrille Comar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox