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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,604e0f87aa06eab6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-23 03:31:12 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.tu-darmstadt.de!news.belwue.de!news.uni-stuttgart.de!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Imitation is the sincerest form of flattery Date: Sun, 23 Mar 2003 12:31:12 +0100 Organization: Enyo -- not your organization Message-ID: <87smtecoan.fsf@deneb.enyo.de> References: <1047665830.579605@master.nyc.kbcfp.com> NNTP-Posting-Host: deneb.enyo.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: cygnus.enyo.de 1048419072 23276 212.9.189.171 (23 Mar 2003 11:31:12 GMT) X-Complaints-To: abuse@enyo.de NNTP-Posting-Date: 23 Mar 2003 11:31:12 GMT Cancel-Lock: sha1:r1VcREx8abV40J6zy0hZaZmIVLE= Xref: archiver1.google.com comp.lang.ada:35633 Date: 2003-03-23T11:31:12+00:00 List-Id: Hyman Rosen writes: > what they don't tell you is that in the Java generics the type > parameters can't be fundamental types, only Object-derived ones The same is true for C# generics. Look at the signatures extension for C++, and you'll see where they get the idea. Obivously, efficient implementation is a prime concern. Using this model, you get shared generics essentially for free.