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,43f6bd9b498b66d0 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!postnews.google.com!s8g2000prg.googlegroups.com!not-for-mail From: Eric Hughes Newsgroups: comp.lang.ada Subject: Re: default formal parameters in generic declarations Date: Tue, 4 Mar 2008 08:15:43 -0800 (PST) Organization: http://groups.google.com Message-ID: <064f4dce-9bf1-4288-90d8-0d49c8131faf@s8g2000prg.googlegroups.com> References: <9b3bac4d-5ae1-4a1b-a81e-9aa9ae1843e0@e31g2000hse.googlegroups.com> <1qlkyebn1yxut$.1r1eauouyt3l8$.dlg@40tude.net> 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 1204647343 15585 127.0.0.1 (4 Mar 2008 16:15:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 4 Mar 2008 16:15:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s8g2000prg.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:20180 Date: 2008-03-04T08:15:43-08:00 List-Id: On Mar 3, 2:17 am, "Dmitry A. Kazakov" wrote: > IMO, it is better (as always) to get rid of generics. Well, if you don't like generics, then enhancing their utility will certainly seem like a waste of time. > Default values of packages are in fact inheritable interfaces. As to this assertion, I believe this to be false. I won't argue it here (it's beside my point), but I can recommend how C++ libraries have come to use "traits" (their jargon) classes as template arguments for a counterexample. Eric