From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,953e1a6689d791f6 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,953e1a6689d791f6 X-Google-Attributes: gid103376,public From: donh@syd.csa.com.au (Don Harrison) Subject: Re: Eiffel and Java + Ada dispatching Date: 1996/11/20 Message-ID: #1/1 X-Deja-AN: 197734614 sender: news@syd.csa.com.au x-nntp-posting-host: dev50 references: organization: CSC Australia, Sydney reply-to: donh@syd.csa.com.au newsgroups: comp.lang.eiffel,comp.lang.ada Date: 1996-11-20T00:00:00+00:00 List-Id: Jon S Anthony writes: :> :> :> type Some_Type is tagged limited private; :> :"Some_Type" is the generic formal (like the T in Eiffel) :> :and could be instantiated with anything. :> :> Do you mean like the following? :> :> class X [T] ... -- unconstrained genericity. : :Yes. : : :> If so, this is different from what Bob Duff said. : :Huh????? I went and checked and this is seems to be exactly what Bod said! Yes, You're right. My mistake. You were both saying this is unconstrained genericity: an actual of any type may be substituted. Further, no operations come with it (because the designer of the generic can't anticipate what actuals may be provided in instantiations). Don. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Don Harrison donh@syd.csa.com.au