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-Thread: 103376,c0d427d5f4af20f8,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail From: "REH" Newsgroups: comp.lang.ada Subject: generics in Ada 83 Date: 13 Sep 2005 06:26:20 -0700 Organization: http://groups.google.com Message-ID: <1126617980.932226.320710@g43g2000cwa.googlegroups.com> NNTP-Posting-Host: 192.91.173.42 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1126617998 5479 127.0.0.1 (13 Sep 2005 13:26:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 13 Sep 2005 13:26:38 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=192.91.173.42; posting-account=lnUIyw0AAACoRB2fMF2SFTIilm8F10q2 Xref: g2news1.google.com comp.lang.ada:4604 Date: 2005-09-13T06:26:20-07:00 List-Id: Is there a way to define a default for the with'd procedure in the following example in Ada 83: generic type X is private; with procedure Y(Z : in X); package Foo; I want to define a default for Y, but how can I without knowing X? I have a generic package that has several with'd procedures, but depending on what services the package provides are use, only a few of the procedures may need to be defined. I'd like to just default the unused ones to stubs. Thanks.