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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8385fc6e4bf20336 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!i12g2000prf.googlegroups.com!not-for-mail From: Eric Hughes Newsgroups: comp.lang.ada Subject: Re: Generics with concrete and class-wide types Date: Mon, 31 Mar 2008 20:57:57 -0700 (PDT) Organization: http://groups.google.com Message-ID: <32fca8c2-dde6-4eb5-8a8c-56ab4f51a47e@i12g2000prf.googlegroups.com> References: <279b6f4f-36cf-446f-8b54-fd72b957b22f@i7g2000prf.googlegroups.com> NNTP-Posting-Host: 166.70.57.218 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1207022277 28322 127.0.0.1 (1 Apr 2008 03:57:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 1 Apr 2008 03:57:57 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i12g2000prf.googlegroups.com; posting-host=166.70.57.218; posting-account=5RIiTwoAAACt_Eu87gmPAJMoMTeMz-rn User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20697 Date: 2008-03-31T20:57:57-07:00 List-Id: "Maciej Sobczak" wrote in message > Bang, because relevant iterator operations cannot be found - the ones > that are found have *wrong signatures*. On Mar 31, 6:23 pm, "Randy Brukardt" wrote: > Right. This seems related to the problem mentioned in AI05-0071-1. To my eye, it's also related to the discussion I was in recently involving generic parameters, where the issue was hypothetical, but also involved symbol mappings. I've thought a lot about this thread, and rather than start with a long discussion, I think a small riddle is in order, one which seems to cut to the center of the problem. Is it possible to get both dispatching and non-dispatching calls on a single type (expressed as a single formal parameter) within a generic? Eric